@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | expiration_date='" . $expiration_date . "' |
56 | 56 | WHERE device_uid='" . $device_uid . "'"); |
57 | 57 | |
58 | - if($result === false){ |
|
58 | + if($result === FALSE){ |
|
59 | 59 | echo "Adding account failed: (" . $db->errno . ") " . $db->error; |
60 | 60 | } |
61 | 61 | } |
@@ -100,7 +100,7 @@ discard block |
||
100 | 100 | expiration_date='" . $expiration_date . "' |
101 | 101 | WHERE device_uid='" . $device_uid . "'"); |
102 | 102 | |
103 | - if($result === false){ |
|
103 | + if($result === FALSE){ |
|
104 | 104 | echo "Adding account failed: (" . $db->errno . ") " . $db->error; |
105 | 105 | } |
106 | 106 | } |
@@ -142,7 +142,7 @@ discard block |
||
142 | 142 | "','" . $device_uid . "','" . $name . "','" . $lat . "','" . $lng . "') "); |
143 | 143 | |
144 | 144 | $success = TRUE; |
145 | - if($result === false){ |
|
145 | + if($result === FALSE){ |
|
146 | 146 | $error = db_error(); |
147 | 147 | echo $error; |
148 | 148 | echo "Adding account failed: (" . $result->errno . ") " . $result->error; |