com web/php: use correct variable name: include/shared-manual.inc

[email protected] (Peter Cowburn)
Newsgroups php.webmaster
Message-ID <[email protected]>
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];
     }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.