From: Ryan Schmidt Date: Mon, 15 Aug 2011 04:02:08 +0000 (+0000) Subject: * Follow-up to r91284: fix error in Action::exists by passing empty array as required... X-Git-Tag: 1.31.0-rc.0~28267 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=f7ae0b261dc4f22b381c505d7d7aa8c380655ccf;p=lhc%2Fweb%2Fwiklou.git * Follow-up to r91284: fix error in Action::exists by passing empty array as required second parameter to Action::getClass --- diff --git a/includes/Action.php b/includes/Action.php index ff0ce697d0..e836098870 100644 --- a/includes/Action.php +++ b/includes/Action.php @@ -92,7 +92,7 @@ abstract class Action { * @return Bool */ public final static function exists( $name ) { - return self::getClass( $name ) !== null; + return self::getClass( $name, array() ) !== null; } /**