1
0
mirror of https://github.com/nerzhul/ocsms.git synced 2025-06-07 16:06:15 +00:00

fix a missing brace. Really !!!

This commit is contained in:
Loïc Blot (@U-Exp) 2014-09-12 19:12:16 +02:00
parent 53cc14fc52
commit 25d3fe8516

View File

@ -67,6 +67,7 @@ class SmsController extends Controller {
if (!array_key_exists("draft", $sms)) { if (!array_key_exists("draft", $sms)) {
$sms["draft"] = "true"; $sms["draft"] = "true";
}
if (!is_numeric($sms["id"])) { if (!is_numeric($sms["id"])) {
$this->errorMsg = "Error: Invalid SMS ID"; $this->errorMsg = "Error: Invalid SMS ID";