diff --git a/debian/changelog b/debian/changelog index dbc862d8..b819afc7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -hedera-web (1.405.53) stable; urgency=low +hedera-web (1.405.54) stable; urgency=low * Initial Release. diff --git a/package.json b/package.json index 96751192..aa1707c5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hedera-web", - "version": "1.405.53", + "version": "1.405.54", "description": "Verdnatura web page", "license": "GPL-3.0", "repository": { diff --git a/rest/misc/sms.php b/rest/misc/sms.php index 8b329ca8..9361a94c 100644 --- a/rest/misc/sms.php +++ b/rest/misc/sms.php @@ -11,7 +11,7 @@ class Sms extends Vn\Web\JsonRequest const OK_STATES = [ 0, // Ok - 127 // Processing + 200 // Processing ]; function run ($db) @@ -46,7 +46,7 @@ class Sms extends Vn\Web\JsonRequest ] ); - if (!in_array ($res->codigo, self::OK_STATES)) + if (!in_array ((int) $res->codigo, self::OK_STATES)) throw new Lib\UserException ($res->descripcion); return TRUE;