Commit:    3d109b91788e8ad7252df4ea6716111191068eee
Author:    Sherif Ramadan <[email protected]>         Wed, 12 Dec 2012 13:36:55 
-0500
Parents:   8fb7c3de1990202a6d677882a44ac247d3b32f8d
Branches:  master

Link:       
http://git.php.net/?p=web/php.git;a=commitdiff;h=3d109b91788e8ad7252df4ea6716111191068eee

Log:
Fixed bug on vote-note.php.

Changed paths:
  M  manual/vote-note.php


Diff:
diff --git a/manual/vote-note.php b/manual/vote-note.php
index cb0a82e..bb5af7a 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 {


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to