@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | if((!isset($_GET['pw']) || $config['pw'] != $_GET['pw']) && !isUserAdmin()) |
22 | 22 | { |
23 | 23 | error_log($_SERVER['REMOTE_ADDR'] . ' used a wrong password on vote-ajax.php'); |
24 | - $respone = array("message" => $_SERVER['REMOTE_ADDR'] . ' used a wrong password on vote-ajax.php',"success" => false); |
|
24 | + $respone = array("message" => $_SERVER['REMOTE_ADDR'] . ' used a wrong password on vote-ajax.php',"success" => FALSE); |
|
25 | 25 | echo json_encode($response); |
26 | 26 | die(); |
27 | 27 | } |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | { |
30 | 30 | |
31 | 31 | $message = ""; |
32 | -$success = true; |
|
32 | +$success = TRUE; |
|
33 | 33 | $token = ""; |
34 | 34 | if(isset($_POST['vote']) && isset($_POST['postId'])) |
35 | 35 | { |
@@ -97,7 +97,7 @@ discard block |
||
97 | 97 | $response = array("success" => $jodelAccount->verifyCaptcha()); |
98 | 98 | echo json_encode($response); |
99 | 99 | die(); |
100 | - $success = false; |
|
100 | + $success = FALSE; |
|
101 | 101 | } |
102 | 102 | else |
103 | 103 | { |
@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | else |
108 | 108 | { |
109 | 109 | $message = 'There is no account available for this jodel. Please create at least one new account to vote this jodel.'; |
110 | - $success = false; |
|
110 | + $success = FALSE; |
|
111 | 111 | } |
112 | 112 | } |
113 | 113 |