mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 08:55:54 +00:00
init vars for view to prevent lots of php warnings
This commit is contained in:
parent
78dfd5269e
commit
e52d5b52b3
|
@ -34,7 +34,11 @@ if (!$user->isAdmin()) {
|
||||||
UI::exitError(getMLText("admin_tools"),getMLText("access_denied"));
|
UI::exitError(getMLText("admin_tools"),getMLText("access_denied"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Also have a look at op/op.ImportUsers.php which calls the view as well. */
|
||||||
if($view) {
|
if($view) {
|
||||||
|
$view->setParam('log', array());
|
||||||
|
$view->setParam('newusers', array());
|
||||||
|
$view->setParam('colmap', array());
|
||||||
$view($_GET);
|
$view($_GET);
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user