From 7ce6571770d3417dbc57613c7e41cb2862336940 Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Wed, 13 Dec 2017 19:46:54 +0100 Subject: [PATCH] SMS bugs solved --- debian/changelog | 2 +- package.json | 2 +- rest/misc/sms.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index 18d9f50c..fb022fba 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -hedera-web (1.405.47) stable; urgency=low +hedera-web (1.405.48) stable; urgency=low * Initial Release. diff --git a/package.json b/package.json index 2773895e..b1ec2f9c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hedera-web", - "version": "1.405.47", + "version": "1.405.48", "description": "Verdnatura web page", "license": "GPL-3.0", "repository": { diff --git a/rest/misc/sms.php b/rest/misc/sms.php index e5f825e1..529d0ddf 100644 --- a/rest/misc/sms.php +++ b/rest/misc/sms.php @@ -37,7 +37,7 @@ class Sms extends Vn\Web\JsonRequest ] ); - if ($sms->codigo != 0) + if ($res->codigo != 0) throw new Lib\UserException ($res->descripcion); return TRUE;