@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | expiration_date='" . $expiration_date . "' |
| 58 | 58 | WHERE device_uid='" . $device_uid . "'"); |
| 59 | 59 | |
| 60 | - if($result === false){ |
|
| 60 | + if($result === FALSE){ |
|
| 61 | 61 | echo "Adding account failed: (" . $db->errno . ") " . $db->error; |
| 62 | 62 | } |
| 63 | 63 | } |
@@ -102,7 +102,7 @@ discard block |
||
| 102 | 102 | expiration_date='" . $expiration_date . "' |
| 103 | 103 | WHERE device_uid='" . $device_uid . "'"); |
| 104 | 104 | |
| 105 | - if($result === false){ |
|
| 105 | + if($result === FALSE){ |
|
| 106 | 106 | echo "Adding account failed: (" . $db->errno . ") " . $db->error; |
| 107 | 107 | } |
| 108 | 108 | } |
@@ -149,7 +149,7 @@ discard block |
||
| 149 | 149 | expiration_date='" . $expiration_date . "' |
| 150 | 150 | WHERE device_uid='" . $device_uid . "'"); |
| 151 | 151 | |
| 152 | - if($result === false){ |
|
| 152 | + if($result === FALSE){ |
|
| 153 | 153 | echo "Adding account failed: (" . $db->errno . ") " . $db->error; |
| 154 | 154 | } |
| 155 | 155 | } |
@@ -265,7 +265,7 @@ discard block |
||
| 265 | 265 | "','" . $device_uid . "','" . $name . "','" . $lat . "','" . $lng . "') "); |
| 266 | 266 | |
| 267 | 267 | $success = TRUE; |
| 268 | - if($result === false){ |
|
| 268 | + if($result === FALSE){ |
|
| 269 | 269 | $error = db_error(); |
| 270 | 270 | echo $error; |
| 271 | 271 | echo "Adding account failed: (" . $result->errno . ") " . $result->error; |