mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-07-11 20:52:12 +00: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 $item;
|
||||||
}
|
}
|
||||||
|
|
||||||
return (!is_array($item->getValue()) && trim($item->getValue()) === '') ? $default : $item->getValue();
|
return (!is_array($item->getValue()) && trim($item->getValue()) === '') ? $default : $item;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $default;
|
return $default;
|
||||||
|
|||||||
Reference in New Issue
Block a user