fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [11181] property: fix bug in get_eav_list


From: Sigurd Nes
Subject: [Fmsystem-commits] [11181] property: fix bug in get_eav_list
Date: Mon, 17 Jun 2013 08:30:21 +0000

Revision: 11181
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=11181
Author:   sigurdne
Date:     2013-06-17 08:30:21 +0000 (Mon, 17 Jun 2013)
Log Message:
-----------
property: fix bug in get_eav_list

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

Modified: trunk/property/inc/class.soentity.inc.php
===================================================================
--- trunk/property/inc/class.soentity.inc.php   2013-06-17 08:29:50 UTC (rev 
11180)
+++ trunk/property/inc/class.soentity.inc.php   2013-06-17 08:30:21 UTC (rev 
11181)
@@ -246,7 +246,7 @@
 //                     $__querymethod = array("fm_bim_item.id = -1"); // block 
query waiting for conditions
                        if($location_code)
                        {
-                               $__querymethod = 
array("fm_bim_item.location_code {$this->like} '{$location_code}%'");
+                               $_querymethod = 
array("fm_bim_item.location_code {$this->like} '{$location_code}%'");
                        }
 
                        $attribute_table = 'phpgw_cust_attribute';
@@ -272,7 +272,7 @@
                                                        case '=':
                                                        case 'equal':
                                                        case 'eq':
-                                                               
$_querymethod[]= "xmlexists('//{$attribute_name}[text() = 
''{$condition['value']}'']' PASSING BY REF xml_representation)";
+                                                               
$_querymethod[]= "xmlexists_('//{$attribute_name}[text() = 
''{$condition['value']}'']' PASSING BY REF xml_representation)";
                                                                break;
                                                        case 'gt':
                                                        case '>':




reply via email to

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