removing more php warnings
This commit is contained in:
parent
3b1e4cdd63
commit
f32eeec4b5
3 changed files with 25 additions and 25 deletions
|
@ -90,7 +90,7 @@ class editusers_panel extends admin_module{
|
|||
$panel->formClose();
|
||||
$panel->parse_page();
|
||||
}
|
||||
}elseif($_GET["action"]=="delete" && $_GET["user"]){
|
||||
}elseif(isset($_GET["action"]) && $_GET["action"]=="delete" && isset($_GET["user"])){
|
||||
$result=$db->query("SELECT * FROM `" . $config["prefix"] . "users` WHERE `uid`='".intval($_GET["user"])."'");
|
||||
$data = $db->fetch_array($result);
|
||||
$plugin->run_hook('admin_user_before_delete',array('data'=>$data));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue