From: umherirrender Date: Mon, 11 Feb 2013 16:14:05 +0000 (+0100) Subject: fix hardcoded quote in BacklinkCache X-Git-Tag: 1.31.0-rc.0~20661 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=909d61056aec4047a15151013660d38492917b9a;p=lhc%2Fweb%2Fwiklou.git fix hardcoded quote in BacklinkCache Also make the IS NULL in upper case, looks better and sql reservered words often written in upper case Change-Id: I844ec37bbf3fb00d95a43dfd6f58db1e67724d53 --- diff --git a/includes/cache/BacklinkCache.php b/includes/cache/BacklinkCache.php index 0710caa66b..a4aa79efc5 100644 --- a/includes/cache/BacklinkCache.php +++ b/includes/cache/BacklinkCache.php @@ -268,8 +268,8 @@ class BacklinkCache { "{$prefix}_namespace" => $this->title->getNamespace(), "{$prefix}_title" => $this->title->getDBkey(), $this->getDb()->makeList( array( - "{$prefix}_interwiki = ''", - "{$prefix}_interwiki is null", + "{$prefix}_interwiki" => '', + "{$prefix}_interwiki IS NULL", ), LIST_OR ), "page_id={$prefix}_from" );