From 3d109b91788e8ad7252df4ea6716111191068eee Mon Sep 17 00:00:00 2001 From: Sherif Ramadan Date: Wed, 12 Dec 2012 13:36:55 -0500 Subject: [PATCH] Fixed bug on vote-note.php. --- manual/vote-note.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manual/vote-note.php b/manual/vote-note.php index cb0a82ed5..bb5af7a0a 100644 --- a/manual/vote-note.php +++ b/manual/vote-note.php @@ -43,7 +43,7 @@ if ($_SERVER['REQUEST_METHOD'] == 'POST') { if (json_last_error() == JSON_ERROR_NONE && isset($r->status) && $r->status && isset($r->votes)) { $response["success"] = true; $response["update"] = (int)$r->votes; - } elseif (json_last_error() == JSON_ERROR_NONE && isset($r-status) && isset($r->message) && $r->status == false) { + } elseif (json_last_error() == JSON_ERROR_NONE && isset($r->status) && isset($r->message) && $r->status == false) { $response["success"] = false; $response["msg"] = $r->message; } else {