From 134906f4a40b9ac9b71d3930866aa7f30e15bbfc Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Wed, 6 Jul 2011 22:07:05 +0000 Subject: [PATCH] Followup r91609, helps to actually remove the @ --- includes/filerepo/ForeignAPIFile.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/filerepo/ForeignAPIFile.php b/includes/filerepo/ForeignAPIFile.php index abad830755..53c4a3bd47 100644 --- a/includes/filerepo/ForeignAPIFile.php +++ b/includes/filerepo/ForeignAPIFile.php @@ -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() { -- 2.20.1