API: Improvements to action=emailuser:
[lhc/web/wiklou.git] / includes / api / ApiQueryLinks.php
index 4c76449..1ed0de4 100644 (file)
@@ -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);