[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [14394]
From: |
Saul |
Subject: |
[Fmsystem-commits] [14394] |
Date: |
Tue, 17 Nov 2015 22:57:18 +0000 |
Revision: 14394
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=14394
Author: psaul
Date: 2015-11-17 22:57:18 +0000 (Tue, 17 Nov 2015)
Log Message:
-----------
Modified Paths:
--------------
branches/dev-syncromind/phpgwapi/inc/class.phpgw.inc.php
Modified: branches/dev-syncromind/phpgwapi/inc/class.phpgw.inc.php
===================================================================
--- branches/dev-syncromind/phpgwapi/inc/class.phpgw.inc.php 2015-11-17
22:55:53 UTC (rev 14393)
+++ branches/dev-syncromind/phpgwapi/inc/class.phpgw.inc.php 2015-11-17
22:57:18 UTC (rev 14394)
@@ -449,7 +449,11 @@
$filtered = filter_var($value,
FILTER_VALIDATE_EMAIL);
if ( $filtered == $value )
{
- return
$filtered;
+ if ($filtered) {
+ return $filtered;
+ } else {
+ return $value;
+ }
}
return (string) $default;
@@ -493,7 +497,11 @@
$filtered = filter_var($value,
FILTER_VALIDATE_URL);
if ( $filtered == $value )
{
- return
$filtered;
+ if ($filtered) {
+ return $filtered;
+ } else {
+ return $value;
+ }
}
return (string) $default;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [14394],
Saul <=