Followup r91609, helps to actually remove the @
authorChad Horohoe <demon@users.mediawiki.org>
Wed, 6 Jul 2011 22:07:05 +0000 (22:07 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Wed, 6 Jul 2011 22:07:05 +0000 (22:07 +0000)
includes/filerepo/ForeignAPIFile.php

index abad830..53c4a3b 100644 (file)
@@ -98,11 +98,11 @@ class ForeignAPIFile extends File {
 
        // Info we can get from API...
        public function getWidth( $page = 1 ) {
-               return isset( $this->mInfo['width'] ) ? intval( @$this->mInfo['width'] ) : 0;
+               return isset( $this->mInfo['width'] ) ? intval( $this->mInfo['width'] ) : 0;
        }
        
        public function getHeight( $page = 1 ) {
-               return isset( $this->mInfo['height'] ) ? intval( @$this->mInfo['height'] ) : 0;
+               return isset( $this->mInfo['height'] ) ? intval( $this->mInfo['height'] ) : 0;
        }
        
        public function getMetadata() {