From 6071d72917010ee3131de06f925f142f5edfafb1 Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Sat, 16 Aug 2008 21:02:31 +0000 Subject: [PATCH] (bug 15173) Make prop={links,templatelinks} not break in PostgreSQL --- includes/api/ApiQueryLinks.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); -- 2.20.1