r91611 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r91610‎ | r91611 | r91612 >
Date:22:07, 6 July 2011
Author:demon
Status:ok
Tags:
Comment:
Followup r91609, helps to actually remove the @
Modified paths:
  • /trunk/phase3/includes/filerepo/ForeignAPIFile.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/filerepo/ForeignAPIFile.php
@@ -98,11 +98,11 @@
9999
100100 // Info we can get from API...
101101 public function getWidth( $page = 1 ) {
102 - return isset( $this->mInfo['width'] ) ? intval( @$this->mInfo['width'] ) : 0;
 102+ return isset( $this->mInfo['width'] ) ? intval( $this->mInfo['width'] ) : 0;
103103 }
104104
105105 public function getHeight( $page = 1 ) {
106 - return isset( $this->mInfo['height'] ) ? intval( @$this->mInfo['height'] ) : 0;
 106+ return isset( $this->mInfo['height'] ) ? intval( $this->mInfo['height'] ) : 0;
107107 }
108108
109109 public function getMetadata() {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r91609Bunch of error suppression operator fixes (bugdemon21:57, 6 July 2011

Status & tagging log