phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/class.solocation.php, 1.1.1.5


From: nomail
Subject: [Phpgroupware-cvs] property/class.solocation.php, 1.1.1.5
Date: Sun, 23 May 2004 02:06:19 -0000

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

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

Log Message:
db_addslashes
=====================================================================
Index: property/class.solocation.php
diff -u property/class.solocation.php:1.1.1.4 
property/class.solocation.php:1.1.1.5
--- property/class.solocation.php:1.1.1.4       Sat Apr 24 19:39:54 2004
+++ property/class.solocation.php       Thu Apr 29 07:10:49 2004
@@ -29,6 +29,7 @@
                        $this->bocommon         = 
CreateObject($this->currentapp.'_bocommon');
                        $this->socommon         = 
CreateObject($this->currentapp.'_socommon');
                        $this->fm_session       = 
CreateObject($this->currentapp.'_session');
+                       $this->functions        = 
CreateObject($this->currentapp.'_functions');
 
                        $this->join                     = $this->socommon->join;
                        $this->left_join        = $this->socommon->left_join;
@@ -849,7 +850,7 @@
 
                function add($location='',$values_attribute='',$type_id='')
                {
-                       $location['remark'] = 
$this->db->db_addslashes($location['remark']);
+                       $location['remark'] = 
$this->functions->db_addslashes($location['remark']);
 
                        while (is_array($location) && list($input_name,$value) 
= each($location))
                        {
@@ -892,7 +893,7 @@
                function edit($location='',$values_attribute='',$type_id='')
                {
 //html_print_r($values_attribute);
-                       $location['remark'] = 
$this->db->db_addslashes($location['remark']);
+                       $location['remark'] = 
$this->functions->db_addslashes($location['remark']);
 
                        while (is_array($location) && list($input_name,$value) 
= each($location))
                        {




reply via email to

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