com web/php: use correct variable name: include/shared-manual.inc
| From: | Peter Cowburn | Date: | Sun, 08 Mar 2015 14:24:15 +0000 |
| Subject: | com web/php: use correct variable name: include/shared-manual.inc | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-20823@lists.php.net to get a copy of this message | ||
Commit: e79ae85efefbc377e6301a59ab9ef4949f242f41
Author: Peter Cowburn <salathe@php.net> 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];
}