Permalink
Browse files

nasty fix of request query

  • Loading branch information...
1 parent ae7ea5f commit 23fd2b1632eed1b4f832b9796b8b70d6444bb64c @d1rk d1rk committed Mar 11, 2013
Showing with 3 additions and 2 deletions.
  1. +3 −2 controllers/BaseController.php
@@ -104,8 +104,9 @@ protected function _options($defaults = array()) {
$options[$key] = (is_numeric($val)) ? (int)$val : $val;
}
}
- if (!empty($this->request->get)) {
- $options += $this->request->get;
+ if (!empty($this->request->query)) {
+ $options += $this->request->query;
+ unset($options['url']);
}
$options = array_merge($defaults, $options);
return $options;

0 comments on commit 23fd2b1

Please sign in to comment.