Undefined var error fix
authorAaron Schulz <aaron@users.mediawiki.org>
Tue, 16 Sep 2008 01:38:03 +0000 (01:38 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Tue, 16 Sep 2008 01:38:03 +0000 (01:38 +0000)
includes/filerepo/File.php

index 0bdede5..29b63c6 100644 (file)
@@ -517,7 +517,7 @@ abstract class File {
                if ( $height != -1 ) {
                        $params['height'] = $height;
                }
-               return $this->transform( $params, $flags );
+               return $this->transform( $params, 0 );
        }
 
        /**