init vars for view to prevent lots of php warnings

This commit is contained in:
Uwe Steinmann 2021-01-11 08:20:46 +01:00
parent 78dfd5269e
commit e52d5b52b3

View File

@ -34,7 +34,11 @@ if (!$user->isAdmin()) {
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) {
$view->setParam('log', array());
$view->setParam('newusers', array());
$view->setParam('colmap', array());
$view($_GET);
exit;
}