[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] property/class.sostandard_entity.php, 1.1.1.5
From: |
nomail |
Subject: |
[Phpgroupware-cvs] property/class.sostandard_entity.php, 1.1.1.5 |
Date: |
Sun, 23 May 2004 03:49:55 -0000 |
Update of /property
Modified Files:
Branch:
class.sostandard_entity.php
date: 2004/04/29 07:10:49; author: sigurdne; state: Exp; lines: +9 -8
Log Message:
db_addslashes
=====================================================================
Index: property/class.sostandard_entity.php
diff -u property/class.sostandard_entity.php:1.1.1.4
property/class.sostandard_entity.php:1.1.1.5
--- property/class.sostandard_entity.php:1.1.1.4 Sat Apr 24 19:39:54 2004
+++ property/class.sostandard_entity.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;
@@ -173,8 +174,8 @@
$table = $this->select_table($type);
$standard['id'] =
$this->bocommon->next_id($table);
- $standard['name'] =
$this->db->db_addslashes($standard['name']);
- $standard['descr'] =
$this->db->db_addslashes($standard['descr']);
+ $standard['name'] =
$this->functions->db_addslashes($standard['name']);
+ $standard['descr'] =
$this->functions->db_addslashes($standard['descr']);
$values= array(
$standard['id'],
@@ -212,8 +213,8 @@
{
$table = $this->select_table($type);
- $standard['name'] =
$this->db->db_addslashes($standard['name']);
- $standard['descr'] =
$this->db->db_addslashes($standard['descr']);
+ $standard['name'] =
$this->functions->db_addslashes($standard['name']);
+ $standard['descr'] =
$this->functions->db_addslashes($standard['descr']);
$value_set=array(
'descr' =>
$standard['descr'],
@@ -399,8 +400,8 @@
$table = $this->select_table_attrib($type);
$attrib['id'] =
$this->bocommon->next_id($table);
- $attrib['name'] =
$this->db->db_addslashes($attrib['name']);
- $attrib['descr'] =
$this->db->db_addslashes($attrib['descr']);
+ $attrib['name'] =
$this->functions->db_addslashes($attrib['name']);
+ $attrib['descr'] =
$this->functions->db_addslashes($attrib['descr']);
$values= array(
@@ -451,8 +452,8 @@
$table = $this->select_table_attrib($type);
$choice_table =
$this->select_table_choice($type);
- $attrib['name'] =
$this->db->db_addslashes($attrib['name']);
- $attrib['descr'] =
$this->db->db_addslashes($attrib['descr']);
+ $attrib['name'] =
$this->functions->db_addslashes($attrib['name']);
+ $attrib['descr'] =
$this->functions->db_addslashes($attrib['descr']);
$value_set=array(
'descr' => $attrib['descr'],
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] property/class.sostandard_entity.php, 1.1.1.5,
nomail <=