fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [10262] Conrtoller: Changed table name in func get_id


From: Torstein
Subject: [Fmsystem-commits] [10262] Conrtoller: Changed table name in func get_id_field_name
Date: Thu, 18 Oct 2012 13:50:49 +0000

Revision: 10262
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=10262
Author:   vator
Date:     2012-10-18 13:50:48 +0000 (Thu, 18 Oct 2012)
Log Message:
-----------
Conrtoller: Changed table name in func get_id_field_name

Modified Paths:
--------------
    trunk/controller/inc/class.socontrol_item.inc.php

Modified: trunk/controller/inc/class.socontrol_item.inc.php
===================================================================
--- trunk/controller/inc/class.socontrol_item.inc.php   2012-10-18 13:49:51 UTC 
(rev 10261)
+++ trunk/controller/inc/class.socontrol_item.inc.php   2012-10-18 13:50:48 UTC 
(rev 10262)
@@ -112,7 +112,6 @@
                                'control_area_id = ' . 
$this->marshal($control_item->get_control_area_id(), 'int')
                        );
 
-                       //var_dump('UPDATE controller_control_item SET ' . 
join(',', $values) . " WHERE id=$id");
                        $result = $this->db->query('UPDATE 
controller_control_item SET ' . join(',', $values) . " WHERE id=$id", 
__LINE__,__FILE__);
 
                        if($result)
@@ -276,7 +275,7 @@
                        {
                                $ret = array
                                (
-                                       'table'                 => 
'controller', // alias
+                                       'table'                 => 
'controller_control_item', // alias
                                        'field'                 => 'id',
                                        'translated'    => 'id'
                                );




reply via email to

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