fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [13822] clean incoming data


From: Sigurd Nes
Subject: [Fmsystem-commits] [13822] clean incoming data
Date: Tue, 01 Sep 2015 10:28:59 +0000

Revision: 13822
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13822
Author:   sigurdne
Date:     2015-09-01 10:28:58 +0000 (Tue, 01 Sep 2015)
Log Message:
-----------
clean incoming data

Modified Paths:
--------------
    trunk/booking/inc/class.uicommon.inc.php

Modified: trunk/booking/inc/class.uicommon.inc.php
===================================================================
--- trunk/booking/inc/class.uicommon.inc.php    2015-08-31 23:57:37 UTC (rev 
13821)
+++ trunk/booking/inc/class.uicommon.inc.php    2015-09-01 10:28:58 UTC (rev 
13822)
@@ -24,8 +24,9 @@
                foreach($keys as $write_key)
                {
                        $array_key = 
$options['prefix'].$write_key.$options['suffix'];
-                       if(isset($array[$array_key])) {
-                               $result[($options['preserve_prefix'] ? 
$options['prefix'] : '').$write_key.($options['preserve_suffix'] ? 
$options['suffix'] : '')] = $array[$array_key];
+                       if(isset($array[$array_key]))
+                       {
+                               $result[($options['preserve_prefix'] ? 
$options['prefix'] : '').$write_key.($options['preserve_suffix'] ? 
$options['suffix'] : '')] = phpgw::clean_value($array[$array_key]);
                        }
                }
                return $result;




reply via email to

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