From: Alexandre Emsenhuber Date: Tue, 17 May 2011 18:03:50 +0000 (+0000) Subject: Removed usage of error suppression operator X-Git-Tag: 1.31.0-rc.0~30102 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=dc4081528c811769dbbd4e8eb18ce4e9eec9d38e;p=lhc%2Fweb%2Fwiklou.git Removed usage of error suppression operator --- diff --git a/includes/api/ApiQueryBacklinks.php b/includes/api/ApiQueryBacklinks.php index b4070d6203..bb59154888 100644 --- a/includes/api/ApiQueryBacklinks.php +++ b/includes/api/ApiQueryBacklinks.php @@ -409,9 +409,10 @@ class ApiQueryBacklinks extends ApiQueryGeneratorBase { $this->dieUsage( 'Invalid continue param. You should pass the original value returned by the previous query', '_badcontinue' ); } $this->contID = $contID; - $redirID = intval( @$continueList[3] ); + $id2 = isset( $continueList[3] ) ? $continueList[3] : null; + $redirID = intval( $id2 ); - if ( $redirID === 0 && @$continueList[3] !== '0' ) { + if ( $redirID === 0 && $id2 !== '0' ) { // This one isn't required return; }