phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/class.soentity.php, 1.1.1.6


From: nomail
Subject: [Phpgroupware-cvs] property/class.soentity.php, 1.1.1.6
Date: Sun, 23 May 2004 18:46:53 -0000

Update of /property
Modified Files:
        Branch: 
          class.soentity.php

date: 2004/04/29 07:10:49;  author: sigurdne;  state: Exp;  lines: +3 -2

Log Message:
db_addslashes
=====================================================================
Index: property/class.soentity.php
diff -u property/class.soentity.php:1.1.1.5 property/class.soentity.php:1.1.1.6
--- property/class.soentity.php:1.1.1.5 Tue Apr 27 09:27:45 2004
+++ property/class.soentity.php Thu Apr 29 07:10:49 2004
@@ -25,6 +25,7 @@
                        $this->account          = 
$GLOBALS['phpgw_data']['user']['id'];
                        $this->bocommon         = 
CreateObject($this->currentapp.'_bocommon');
                        $this->fm_session       = 
CreateObject($this->currentapp.'_session');
+                       $this->functions        = 
CreateObject($this->currentapp.'_functions');
 
                        $this->join                     = $this->bocommon->join;
                        $this->left_join        = $this->bocommon->left_join;
@@ -476,7 +477,7 @@
                                $address = $values['location_name'];
                        }
 
-                       $values['descr'] = 
$this->db->db_addslashes($values['descr']);
+                       $values['descr'] = 
$this->functions->db_addslashes($values['descr']);
 
                        while (is_array($values['location']) && 
list($input_name,$value) = each($values['location']))
                        {
@@ -561,7 +562,7 @@
                                $address = $values['location_name'];
                        }
 
-                       $values['descr'] = 
$this->db->db_addslashes($values['descr']);
+                       $values['descr'] = 
$this->functions->db_addslashes($values['descr']);
 
                        $value_set=array(
                                'location_code' => $values['location_code'],




reply via email to

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