phpgroupware-cvs
[Top][All Lists]
Advanced

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

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


From: nomail
Subject: [Phpgroupware-cvs] property/class.soproject.php, 1.1.1.5
Date: Sun, 23 May 2004 08:21:44 -0000

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

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

Log Message:
db_addslashes
=====================================================================
Index: property/class.soproject.php
diff -u property/class.soproject.php:1.1.1.4 
property/class.soproject.php:1.1.1.5
--- property/class.soproject.php:1.1.1.4        Sat Apr 24 19:39:54 2004
+++ property/class.soproject.php        Thu Apr 29 07:10:49 2004
@@ -26,6 +26,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;
 
@@ -475,8 +476,8 @@
                                $address = $project['location_name'];
                        }
 
-                       $project['descr'] = 
$this->db->db_addslashes($project['descr']);
-                       $project['name'] = 
$this->db->db_addslashes($project['name']);
+                       $project['descr'] = 
$this->functions->db_addslashes($project['descr']);
+                       $project['name'] = 
$this->functions->db_addslashes($project['name']);
 
                        $values= array(
                                $project['project_id'],
@@ -644,8 +645,8 @@
                                $address = $project['location_name'];
                        }
 
-                       $project['descr'] = 
$this->db->db_addslashes($project['descr']);
-                       $project['name'] = 
$this->db->db_addslashes($project['name']);
+                       $project['descr'] = 
$this->functions->db_addslashes($project['descr']);
+                       $project['name'] = 
$this->functions->db_addslashes($project['name']);
 
                        $value_set=array(
                                'name'                          => 
$project['name'],




reply via email to

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