From dc4081528c811769dbbd4e8eb18ce4e9eec9d38e Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Tue, 17 May 2011 18:03:50 +0000 Subject: [PATCH] Removed usage of error suppression operator --- includes/api/ApiQueryBacklinks.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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; } -- 2.20.1