- Remove redundant strtoupper() call

pull/1/head
alecpl 13 years ago
parent eb78fddf2d
commit 7c722504c6

@ -89,11 +89,11 @@ class rcube_result_index
$param = strtoupper($m[1]); $param = strtoupper($m[1]);
$value = $m[2]; $value = $m[2];
$this->params[strtoupper($m[1])] = $value; $this->params[$param] = $value;
$data_item = substr($data_item, strlen($m[0])); $data_item = substr($data_item, strlen($m[0]));
if (in_array($param, array('COUNT', 'MIN', 'MAX'))) { if (in_array($param, array('COUNT', 'MIN', 'MAX'))) {
$this->meta[strtolower($param)] = (int) $m[2]; $this->meta[strtolower($param)] = (int) $value;
} }
} }

Loading…
Cancel
Save