mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-11 16:35:38 +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"));
|
||||
}
|
||||
|
||||
/* 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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user