Merge "HTMLCheckMatrix support for forcing options on/off"
[lhc/web/wiklou.git] / img_auth.php
index 667a40a..eba81f3 100644 (file)
@@ -113,6 +113,8 @@ function wfImageAuthMain() {
        }
 
        // Run hook for extension authorization plugins
+       /** @var $result array */
+       $result = null;
        if ( !wfRunHooks( 'ImgAuthBeforeStream', array( &$title, &$path, &$name, &$result ) ) ) {
                wfForbidden( $result[0], $result[1], array_slice( $result, 2 ) );
                return;