[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] phpgwapi/inc functions.inc.php,1.121.2.13.2.30
From: |
ceb |
Subject: |
[Phpgroupware-cvs] phpgwapi/inc functions.inc.php,1.121.2.13.2.30 |
Date: |
Fri, 30 Sep 2005 01:33:00 +0200 |
Update of phpgwapi/inc
Modified Files:
Branch: Version-0_9_16-branch
functions.inc.php lines: +4 -6
Log Message:
changed function back
====================================================
Index: phpgwapi/inc/functions.inc.php
diff -u phpgwapi/inc/functions.inc.php:1.121.2.13.2.29
phpgwapi/inc/functions.inc.php:1.121.2.13.2.30
--- phpgwapi/inc/functions.inc.php:1.121.2.13.2.29 Thu Sep 29 07:18:12 2005
+++ phpgwapi/inc/functions.inc.php Thu Sep 29 23:33:03 2005
@@ -44,14 +44,12 @@
function clean_vars($vars, $safe_redirect = True)
{
+ global $data_cleaner;
if ( !is_array($vars) )
{
- $data_cleaner = CreateObject('phpgwapi.data_cleaner');
- $_vars = $data_cleaner->clean($vars, $safe_redirect);
- unset($data_cleaner);
- return $_vars;
+ return $data_cleaner->clean($vars, $safe_redirect);
}
-
+
foreach ( $vars as $key => $val )
{
$vars[$key] = clean_vars($val, $safe_redirect);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] phpgwapi/inc functions.inc.php,1.121.2.13.2.30,
ceb <=