SMS bugs solved
This commit is contained in:
parent
723b584af9
commit
726b22dc73
|
@ -1,4 +1,4 @@
|
|||
hedera-web (1.405.53) stable; urgency=low
|
||||
hedera-web (1.405.54) stable; urgency=low
|
||||
|
||||
* Initial Release.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "hedera-web",
|
||||
"version": "1.405.53",
|
||||
"version": "1.405.54",
|
||||
"description": "Verdnatura web page",
|
||||
"license": "GPL-3.0",
|
||||
"repository": {
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue