[Svn] r6116 - trunk/roundcubemail/program/include

trac at roundcube.net trac at roundcube.net
Mon Apr 23 10:22:13 CEST 2012


Author: alec
Date: 2012-04-23 03:22:13 -0500 (Mon, 23 Apr 2012)
New Revision: 6116

Modified:
   trunk/roundcubemail/program/include/rcube_result_index.php
Log:
- Remove redundant strtoupper() call


Modified: trunk/roundcubemail/program/include/rcube_result_index.php
===================================================================
--- trunk/roundcubemail/program/include/rcube_result_index.php	2012-04-23 07:15:07 UTC (rev 6115)
+++ trunk/roundcubemail/program/include/rcube_result_index.php	2012-04-23 08:22:13 UTC (rev 6116)
@@ -89,11 +89,11 @@
                         $param = strtoupper($m[1]);
                         $value = $m[2];
 
-                        $this->params[strtoupper($m[1])] = $value;
+                        $this->params[$param] = $value;
                         $data_item = substr($data_item, strlen($m[0]));
 
                         if (in_array($param, array('COUNT', 'MIN', 'MAX'))) {
-                            $this->meta[strtolower($param)] = (int) $m[2];
+                            $this->meta[strtolower($param)] = (int) $value;
                         }
                     }
 



More information about the svn mailing list