summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2012-04-23 08:22:13 +0000
committeralecpl <alec@alec.pl>2012-04-23 08:22:13 +0000
commit7c722504c6f36997ba3e13cd55c079254dd8fb54 (patch)
treefd9ea9b2f4685d28742874955ecc694def472bf0 /program/include
parenteb78fddf2d28f417815d7154345adb0f87f9485e (diff)
- Remove redundant strtoupper() call
Diffstat (limited to 'program/include')
-rw-r--r--program/include/rcube_result_index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/include/rcube_result_index.php b/program/include/rcube_result_index.php
index 1c7a5e067..2572aea77 100644
--- a/program/include/rcube_result_index.php
+++ b/program/include/rcube_result_index.php
@@ -89,11 +89,11 @@ class rcube_result_index
$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;
}
}