[eGroupWare-svn] r56133 - /trunk/egroupware/api/src/Etemplate/Widget/Nextmatch.php

[email protected] Wed, 11 May 2016 19:40:49 -0000
Newsgroups gmane.comp.web.egroupware.cvs
Message-ID <[email protected]>
Author: nathangray
Date: Wed May 11 21:40:49 2016
New Revision: 56133

URL: http://svn.stylite.de/viewvc/egroupware?rev=56133&view=rev
Log:
Unset empty filter arrays, not set them to null

Modified:
    trunk/egroupware/api/src/Etemplate/Widget/Nextmatch.php

Modified: trunk/egroupware/api/src/Etemplate/Widget/Nextmatch.php
URL: http://svn.stylite.de/viewvc/egroupware/trunk/egroupware/api/src/Etemplate/Widget/Nextmatch.php?rev=56133&r1=56132&r2=56133&view=diff
==============================================================================
--- trunk/egroupware/api/src/Etemplate/Widget/Nextmatch.php (original)
+++ trunk/egroupware/api/src/Etemplate/Widget/Nextmatch.php Wed May 11 21:40:49 2016
@@ -315,7 +315,7 @@
 			{
 				if(is_array($val) && count($val) == 0)
 				{
-					$val = null;
+					unset($filters['col_filter'][$col]);
 				}
 			}
 			//error_log($this . " Valid filters: " . array2string($filters));


------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j