Commit:    63396c26cf0f603366518fe96879de70857a6b7c
Author:    Peter Cowburn <[email protected]>         Sun, 8 Mar 2015 14:24:15 
+0000
Parents:   a5f9c345b0149d7e56af52478ec9f44933658dd2
Branches:  master

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

Log:
use correct variable name

Changed paths:
  M  include/shared-manual.inc


Diff:
diff --git a/include/shared-manual.inc b/include/shared-manual.inc
index f459734..69021b1 100644
--- a/include/shared-manual.inc
+++ b/include/shared-manual.inc
@@ -371,8 +371,8 @@ function manual_navigation_deprecated(array $setup) {
 
 function manual_navigation_methodname($methodname) {
     // We strip out any class prefix here, we only want method names
-    if (strpos($entry[1], '::') !== false && strpos($entry[1], ' ') === false) 
{
-        $tmp = explode('::', $entry[1]);
+    if (strpos($methodname, '::') !== false && strpos($methodname, ' ') === 
false) {
+        $tmp = explode('::', $methodname);
         $methodname = $tmp[1];
     }


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

Reply via email to