com web/php: use correct variable name: include/shared-manual.inc
| From: | Paul Dragoonis | 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-21724@lists.php.net to get a copy of this message | ||
Commit: 63396c26cf0f603366518fe96879de70857a6b7c
Author: Peter Cowburn <salathe@php.net> 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];
}