From: Roan Kattouw Date: Sat, 16 Aug 2008 21:02:31 +0000 (+0000) Subject: (bug 15173) Make prop={links,templatelinks} not break in PostgreSQL X-Git-Tag: 1.31.0-rc.0~45865 X-Git-Url: http://git.cyclocoop.org/%22.%24image2.%22?a=commitdiff_plain;h=6071d72917010ee3131de06f925f142f5edfafb1;p=lhc%2Fweb%2Fwiklou.git (bug 15173) Make prop={links,templatelinks} not break in PostgreSQL --- diff --git a/includes/api/ApiQueryLinks.php b/includes/api/ApiQueryLinks.php index 4c76449032..1ed0de4ce7 100644 --- a/includes/api/ApiQueryLinks.php +++ b/includes/api/ApiQueryLinks.php @@ -76,9 +76,9 @@ class ApiQueryLinks extends ApiQueryGeneratorBase { $params = $this->extractRequestParams(); $this->addFields(array ( - $this->prefix . '_from pl_from', - $this->prefix . '_namespace pl_namespace', - $this->prefix . '_title pl_title' + $this->prefix . '_from AS pl_from', + $this->prefix . '_namespace AS pl_namespace', + $this->prefix . '_title AS pl_title' )); $this->addTables($this->table);