Index: trunk/phase3/includes/filerepo/ForeignAPIRepo.php |
— | — | @@ -185,7 +185,7 @@ |
186 | 186 | 'prop' => 'imageinfo' ) ); |
187 | 187 | $info = $this->getImageInfo( $data ); |
188 | 188 | |
189 | | - if( $data && $info && $info['thumburl'] ) { |
| 189 | + if( $data && $info && isset( $info['thumburl'] ) ) { |
190 | 190 | wfDebug( __METHOD__ . " got remote thumb " . $info['thumburl'] . "\n" ); |
191 | 191 | return $info['thumburl']; |
192 | 192 | } else { |