fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [10602] Add boolean as type in clean_values


From: Sigurd Nes
Subject: [Fmsystem-commits] [10602] Add boolean as type in clean_values
Date: Sat, 15 Dec 2012 09:40:47 +0000

Revision: 10602
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=10602
Author:   sigurdne
Date:     2012-12-15 09:40:46 +0000 (Sat, 15 Dec 2012)
Log Message:
-----------
Add boolean as type in clean_values

Modified Paths:
--------------
    trunk/phpgwapi/inc/class.phpgw.inc.php

Modified: trunk/phpgwapi/inc/class.phpgw.inc.php
===================================================================
--- trunk/phpgwapi/inc/class.phpgw.inc.php      2012-12-14 14:49:56 UTC (rev 
10601)
+++ trunk/phpgwapi/inc/class.phpgw.inc.php      2012-12-15 09:40:46 UTC (rev 
10602)
@@ -408,6 +408,7 @@
                                                $value = 
htmlspecialchars($value, ENT_COMPAT, 'UTF-8');
                                                break;
 
+                                       case 'boolean':
                                        case 'bool':
                                                if ( 
preg_match('/^[false|0|no]$/', $value) )
                                                {




reply via email to

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