Yaron Koren has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/79022


Change subject: Fixed call-by-reference problem
......................................................................

Fixed call-by-reference problem

Change-Id: I7b2de5f0442f079f4fc2452399c1bb9235951d3c
---
M Quiz.class.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Quiz 
refs/changes/22/79022/1

diff --git a/Quiz.class.php b/Quiz.class.php
index 9b67a78..47d0db9 100644
--- a/Quiz.class.php
+++ b/Quiz.class.php
@@ -287,7 +287,7 @@
                        $this->mQuestionId,
                        $this->mParser
                );
-               wfRunHooks( 'QuizQuestionCreated', array( &$this, &$question ) 
);
+               wfRunHooks( 'QuizQuestionCreated', array( $this, &$question ) );
                $buffer = $question->parseHeader( $matches[1] );
                if( !array_key_exists( 3, $matches ) || trim( $matches[3] ) == 
'' ) {
                        switch( $matches[1] ) {

-- 
To view, visit https://gerrit.wikimedia.org/r/79022
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7b2de5f0442f079f4fc2452399c1bb9235951d3c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Quiz
Gerrit-Branch: master
Gerrit-Owner: Yaron Koren <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to