phpgroupware-cvs
[Top][All Lists]
Advanced

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

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


From: nomail
Subject: [Phpgroupware-cvs] property/class.soinvestment.php, 1.1.1.5
Date: Sun, 23 May 2004 15:38:25 -0000

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

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

Log Message:
db_addslashes
=====================================================================
Index: property/class.soinvestment.php
diff -u property/class.soinvestment.php:1.1.1.4 
property/class.soinvestment.php:1.1.1.5
--- property/class.soinvestment.php:1.1.1.4     Sat Apr 24 19:39:54 2004
+++ property/class.soinvestment.php     Thu Apr 29 07:10:49 2004
@@ -25,6 +25,7 @@
                        $this->db2              = $this->db;
                        $this->account  = $GLOBALS['phpgw_data']['user']['id'];
                        $this->bocommon         = 
CreateObject($this->currentapp.'_bocommon');
+                       $this->functions        = 
CreateObject($this->currentapp.'_functions');
 
                        $this->join                     = $this->bocommon->join;
                }
@@ -223,7 +224,7 @@
                    $period                     = $values['period'];
                    $type                       = $values['funding'];
                    $initial_value      = $values['initial_value'];
-                   $descr                      = 
$this->db->db_addslashes($values['descr']);
+                   $descr                      = 
$this->functions->db_addslashes($values['descr']);
                    $date                       = $values['date'];
                    $location_code      = $values['location_code'];
                    $entity_id          = $values['entity_id'];




reply via email to

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