Completed
Pull Request — master (#14)
by
unknown
02:45
created
vote-ajax.php 1 patch
Upper-Lower-Casing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@  discard block
 block discarded – undo
5 5
 if((!isset($_GET['pw']) || $config['pw'] != $_GET['pw']) && !isUserAdmin())
6 6
 {
7 7
 	error_log($_SERVER['REMOTE_ADDR']  . ' used a wrong password on vote-ajax.php');
8
-	$respone = array("message" => $_SERVER['REMOTE_ADDR']  . ' used a wrong password on vote-ajax.php',"success" => false);
8
+	$respone = array("message" => $_SERVER['REMOTE_ADDR']  . ' used a wrong password on vote-ajax.php',"success" => FALSE);
9 9
 	echo json_encode($response);
10 10
 	die();
11 11
 }
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
 }
22 22
 
23 23
 $message = "";
24
-$success = true;
24
+$success = TRUE;
25 25
 $token = "";
26 26
 	if(isset($_POST['vote']) && isset($_POST['postId']))
27 27
 	{
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
 					$response = array("success" => $jodelAccount->verifyCaptcha());
90 90
 					echo json_encode($response);
91 91
 					die();
92
-				$success = false;
92
+				$success = FALSE;
93 93
 			}
94 94
 			else
95 95
 			{
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
 		else
100 100
 		{
101 101
 			$message = 'There is no account available for this jodel. Please create at least one new account to vote this jodel.';
102
-			$success = false;
102
+			$success = FALSE;
103 103
 		}
104 104
 	}
105 105
 
Please login to merge, or discard this patch.