Skip to content
Permalink
Browse files Browse the repository at this point in the history
remove warning from expRouter code
  • Loading branch information
dleffler committed Sep 20, 2016
1 parent 3d70ba9 commit 99636b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/core/subsystems/expRouter.php
Expand Up @@ -209,7 +209,7 @@ public function routeRequest() {
}
// do the same for the other id's
foreach ($_REQUEST as $key=>$var) {
if (is_string($var) && strrpos($key,'_id',-3) !== false) {
if (is_string($var) && strlen($key) >= 3 && strrpos($key,'_id',-3) !== false) {
if (isset($_GET[$key]))
$_GET[$key] = intval($_GET[$key]);
if (isset($_POST[$key]))
Expand Down

0 comments on commit 99636b2

Please sign in to comment.