Commit:    1bcbdc40874a7688cc916628c17282803c1e9d0a
Author:    Sherif Ramadan <[email protected]>         Wed, 12 Dec 2012 13:36:55 
-0500
Parents:   1baa02b8ddd2506a9958d2fb2761e3acf3fa66bc
Branches:  master

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

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