Skip to content
Permalink
Browse files

remove warning from expRouter code

  • Loading branch information...
dleffler committed Sep 20, 2016
1 parent 3d70ba9 commit 99636b2118cd9af4eb9920f6b6c228bd824593d2
Showing with 1 addition and 1 deletion.
  1. +1 −1 framework/core/subsystems/expRouter.php
@@ -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]))

0 comments on commit 99636b2

Please sign in to comment.
You can’t perform that action at this time.