Commit 26d6e1af authored by David Libeau's avatar David Libeau

Fix params bug

parent db65fd22
......@@ -77,11 +77,11 @@ class Core{
}
}else{
if($route->return->params==":this"){
$params[]=$query[$qPos-1];
$params[]=strtolower($query[$qPos-1]);
}else if($route->return->params==":parent"){
$params[]=$query[$qPos-2];
$params[]=strtolower($query[$qPos-2]);
}else{
$params[]=$route->return->params;
$params[]=strtolower($route->return->params);
}
}
//var_dump($class);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment