adjust Request-class methods to be more flexible
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -46,7 +46,7 @@ if (Settings::IsInList('panel.customer_hide_options', 'extras')) {
|
||||
Response::redirectTo('customer_index.php');
|
||||
}
|
||||
|
||||
$id = (int)Request::get('id');
|
||||
$id = (int)Request::any('id');
|
||||
|
||||
if ($page == 'overview' || $page == 'htpasswds') {
|
||||
// redirect if this customer sub-page is hidden via settings
|
||||
|
||||
Reference in New Issue
Block a user