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

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

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