[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] property/class.sodrawing.php, 1.1.1.5
From: |
nomail |
Subject: |
[Phpgroupware-cvs] property/class.sodrawing.php, 1.1.1.5 |
Date: |
Sun, 23 May 2004 10:30:18 -0000 |
Update of /property
Modified Files:
Branch:
class.sodrawing.php
date: 2004/04/29 07:10:49; author: sigurdne; state: Exp; lines: +7 -6
Log Message:
db_addslashes
=====================================================================
Index: property/class.sodrawing.php
diff -u property/class.sodrawing.php:1.1.1.4
property/class.sodrawing.php:1.1.1.5
--- property/class.sodrawing.php:1.1.1.4 Sat Apr 24 19:39:54 2004
+++ property/class.sodrawing.php Thu Apr 29 07:10:49 2004
@@ -30,6 +30,7 @@
$this->rootdir = $this->vfs->basedir;
$this->fakebase = $this->vfs->fakebase;
$this->socommon =
CreateObject($this->currentapp.'_socommon');
+ $this->functions =
CreateObject($this->currentapp.'_functions');
$this->join = $this->socommon->join;
}
@@ -289,9 +290,9 @@
$address = $drawing['location_name'];
}
- $drawing['descr'] =
$this->db->db_addslashes($drawing['descr']);
- $drawing['name'] =
$this->db->db_addslashes($drawing['name']);
- $drawing['title'] =
$this->db->db_addslashes($drawing['title']);
+ $drawing['descr'] =
$this->functions->db_addslashes($drawing['descr']);
+ $drawing['name'] =
$this->functions->db_addslashes($drawing['name']);
+ $drawing['title'] =
$this->functions->db_addslashes($drawing['title']);
//html_print_r($drawing);
$GLOBALS['phpgw']->db->Execute("INSERT INTO fm_drawing
(drawing_name,title,access,category,entry_date,drawing_date,version,coordinator,status,"
.
"descr,location_code,floor_id,address,branch_id,vendor_id,user_id $cols) "
@@ -377,9 +378,9 @@
}
- $drawing['descr'] =
$this->db->db_addslashes($drawing['descr']);
- $drawing['name'] =
$this->db->db_addslashes($drawing['name']);
- $drawing['title'] =
$this->db->db_addslashes($drawing['title']);
+ $drawing['descr'] =
$this->functions->db_addslashes($drawing['descr']);
+ $drawing['name'] =
$this->functions->db_addslashes($drawing['name']);
+ $drawing['title'] =
$this->functions->db_addslashes($drawing['title']);
//html_print_r($drawing);
$GLOBALS['phpgw']->db->Execute("UPDATE fm_drawing set
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] property/class.sodrawing.php, 1.1.1.5,
nomail <=