Completed
Push — master ( 03720d...6a1f3b )
by mains
02:48
created
php/jodel-web.php 1 patch
Upper-Lower-Casing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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;
@@ -309,7 +309,7 @@  discard block
 block discarded – undo
309 309
 {
310 310
 	preg_match('/bot|spider|google|twitter^$/i', $_SERVER['HTTP_USER_AGENT'], $matches);
311 311
 
312
-    return (isset($matches[0])) ? false : true;
312
+    return (isset($matches[0])) ? FALSE : TRUE;
313 313
 }
314 314
 
315 315
 function botDeviceUidIsSet($config)
Please login to merge, or discard this patch.