mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-06-15 18:23:26 +03:00
No need to return getValue as it will be returned on render.
This commit is contained in:
@@ -188,7 +188,7 @@ class Input
|
||||
return $item;
|
||||
}
|
||||
|
||||
return (!is_array($item->getValue()) && trim($item->getValue()) === '') ? $default : $item->getValue();
|
||||
return (!is_array($item->getValue()) && trim($item->getValue()) === '') ? $default : $item;
|
||||
}
|
||||
|
||||
return $default;
|
||||
|
||||
Reference in New Issue
Block a user