From e6c697e43f4acae9502a2a1a72d3a3a1cef0ea0b Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Fri, 3 Dec 2010 19:32:25 +0000 Subject: [PATCH] and -> && in r77366 --- includes/api/ApiFeedWatchlist.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/api/ApiFeedWatchlist.php b/includes/api/ApiFeedWatchlist.php index f572ae616d..a1a6c6efe7 100644 --- a/includes/api/ApiFeedWatchlist.php +++ b/includes/api/ApiFeedWatchlist.php @@ -143,7 +143,7 @@ class ApiFeedWatchlist extends ApiBase { private function createFeedItem( $info ) { $titleStr = $info['title']; $title = Title::newFromText( $titleStr ); - if ( $this->linkToDiffs and isset( $info['revid'] ) ) { + if ( $this->linkToDiffs && isset( $info['revid'] ) ) { $titleUrl = $title->getFullURL( array( 'diff' => $info['revid'] ) ); } else { $titleUrl = $title->getFullURL(); -- 2.20.1