Pastakhov has uploaded a new change for review.
https://gerrit.wikimedia.org/r/111793
Change subject: fix function with void param
......................................................................
fix function with void param
Change-Id: Ie7fd97c7ddba136588263197eaf9effceca701ad
---
M PhpTags.php
M includes/BaseHooks.php
2 files changed, 2 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/PhpTags
refs/changes/93/111793/1
diff --git a/PhpTags.php b/PhpTags.php
index 0729468..626a434 100644
--- a/PhpTags.php
+++ b/PhpTags.php
@@ -17,7 +17,7 @@
define( 'PHPTAGS_MAJOR_VERSION', 1 );
define( 'PHPTAGS_MINOR_VERSION', 0 );
-define( 'PHPTAGS_RELEASE_VERSION', 5 );
+define( 'PHPTAGS_RELEASE_VERSION', 6 );
define( 'PHPTAGS_VERSION', PHPTAGS_MAJOR_VERSION . '.' . PHPTAGS_MINOR_VERSION
. '.' . PHPTAGS_RELEASE_VERSION );
// Register this extension on Special:Version
diff --git a/includes/BaseHooks.php b/includes/BaseHooks.php
index bdfeffd..ed24709 100644
--- a/includes/BaseHooks.php
+++ b/includes/BaseHooks.php
@@ -37,6 +37,7 @@
}
$definition = static::$functions_definition[$name];
$args = array();
+ $d = 0;
for ( $i=0, $c=count($params); $i < $c; $i++ ) {
$d = $i + 1;
if ( !isset($definition[$d]) ) {
--
To view, visit https://gerrit.wikimedia.org/r/111793
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie7fd97c7ddba136588263197eaf9effceca701ad
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/PhpTags
Gerrit-Branch: master
Gerrit-Owner: Pastakhov <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits