Completed
Push — master ( 306300...8aacdd )
by mains
02:51
created
vote-ajax.php 1 patch
Upper-Lower-Casing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
4 4
 if(!isset($_GET['pw']) || $config['pw'] != $_GET['pw'])
5 5
 {
6 6
 	error_log($_SERVER['REMOTE_ADDR']  . ' used a wrong password on vote-ajax.php');
7
-	$respone = array("message" => $_SERVER['REMOTE_ADDR']  . ' used a wrong password on vote-ajax.php',"success" => false);
7
+	$respone = array("message" => $_SERVER['REMOTE_ADDR']  . ' used a wrong password on vote-ajax.php',"success" => FALSE);
8 8
 	echo json_encode($response);
9 9
 	
10 10
 	die();
@@ -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
 	{
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
 				$view = new View();
42 42
 				$message = "This account is not verified. Please verify this account first.";
43 43
 				$captcha = $view->getCaptcha($accessToken);
44
-				$success = false;
44
+				$success = FALSE;
45 45
 			}
46 46
 			else
47 47
 			{
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
 		else
52 52
 		{
53 53
 			$message = 'There is no account available for this jodel. Please create at least one new account to vote this jodel.';
54
-			$success = false;
54
+			$success = FALSE;
55 55
 		}
56 56
 	}
57 57
 
Please login to merge, or discard this patch.