phpgroupware-cvs
[Top][All Lists]
Advanced

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

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


From: nomail
Subject: [Phpgroupware-cvs] property/class.sogab.php, 1.1.1.5
Date: Sun, 23 May 2004 10:59:36 -0000

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

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

Log Message:
db_addslashes
=====================================================================
Index: property/class.sogab.php
diff -u property/class.sogab.php:1.1.1.4 property/class.sogab.php:1.1.1.5
--- property/class.sogab.php:1.1.1.4    Sat Apr 24 19:39:54 2004
+++ property/class.sogab.php    Thu Apr 29 07:10:49 2004
@@ -27,6 +27,7 @@
                        $this->account          = 
$GLOBALS['phpgw_data']['user']['id'];
                        $this->bocommon         = 
CreateObject($this->currentapp.'_bocommon');
                        $this->socommon         = 
CreateObject($this->currentapp.'_socommon');
+                       $this->functions        = 
CreateObject($this->currentapp.'_functions');
 
                        $this->join                     = $this->socommon->join;
 
@@ -277,7 +278,7 @@
                                $where= 'AND';
                        }
 
-                       $gab['remark'] = 
$this->db->db_addslashes($gab['remark']);
+                       $gab['remark'] = 
$this->functions->db_addslashes($gab['remark']);
 
                        $gab_id= $gab['kommune_nr'] . 
sprintf("%05s",$gab['gaards_nr']) . sprintf("%04s",$gab['bruks_nr']) . 
sprintf("%04s",$gab['feste_nr']) . sprintf("%03s",$gab['seksjons_nr']);
 




reply via email to

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