[vhffs-dev] [1932] fixed groupsearch when description and groupname is empty

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 1932
Author:   gradator
Date:     2012-01-24 20:41:41 +0100 (Tue, 24 Jan 2012)
Log Message:
-----------
fixed groupsearch when description and groupname is empty

Modified Paths:
--------------
    trunk/vhffs-api/src/Vhffs/Panel/Commons.pm

Modified: trunk/vhffs-api/src/Vhffs/Panel/Commons.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Panel/Commons.pm	2012-01-24 19:29:03 UTC (rev 1931)
+++ trunk/vhffs-api/src/Vhffs/Panel/Commons.pm	2012-01-24 19:41:41 UTC (rev 1932)
@@ -103,7 +103,7 @@
             if(ref($value) eq 'ARRAY') {
             	push @params, $key.'='.$_ foreach(@$value);
             } else {
-            	push @params, $key.'='.$value unless($value =~ /^\s*$/);
+            	push @params, $key.'='.$value;
             }
         }
         $pager->{query_string} = join('&', @params);


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/