fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [7275] property: more on generic


From: Sigurd Nes
Subject: [Fmsystem-commits] [7275] property: more on generic
Date: Tue, 10 May 2011 07:28:05 +0000

Revision: 7275
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=7275
Author:   sigurdne
Date:     2011-05-10 07:28:03 +0000 (Tue, 10 May 2011)
Log Message:
-----------
property: more on generic

Modified Paths:
--------------
    trunk/property/inc/class.sogeneric.inc.php

Modified: trunk/property/inc/class.sogeneric.inc.php
===================================================================
--- trunk/property/inc/class.sogeneric.inc.php  2011-05-09 10:54:07 UTC (rev 
7274)
+++ trunk/property/inc/class.sogeneric.inc.php  2011-05-10 07:28:03 UTC (rev 
7275)
@@ -2130,7 +2130,7 @@
 
                        $fields = implode(',', $fields);
 
-                       $this->_db->query("SELECT id, {$fields} FROM {$table} 
{$filtermthod} {$ordermethod}");
+                       $this->_db->query("SELECT 
{$this->location_info['id']['name']} as id, {$fields} FROM {$table} 
{$filtermthod} {$ordermethod}");
 
                        $return_fields = isset($data['fields']) && 
$data['fields'] && is_array($data['fields']) ? $data['fields'] : array();
                        




reply via email to

[Prev in Thread] Current Thread [Next in Thread]