r70484 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r70483‎ | r70484 | r70485 >
Date:22:02, 4 August 2010
Author:reedy
Status:ok (Comments)
Tags:
Comment:
-rakkaus/#mediawiki-i18n- [04-Aug-2010 22:02:04] PHP Notice: Undefined variable: required in /www/w/includes/api/ApiBase.php on line 749
Modified paths:
  • /trunk/phase3/includes/api/ApiBase.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiBase.php
@@ -617,6 +617,7 @@
618618 $type = gettype( $paramSettings );
619619 $dupes = false;
620620 $deprecated = false;
 621+ $required = false;
621622 } else {
622623 $default = isset( $paramSettings[self::PARAM_DFLT] ) ? $paramSettings[self::PARAM_DFLT] : null;
623624 $multi = isset( $paramSettings[self::PARAM_ISMULTI] ) ? $paramSettings[self::PARAM_ISMULTI] : false;

Comments

#Comment by Reedy (talk | contribs)   22:04, 4 August 2010

Fixes daft error in r70479

Status & tagging log