X-Git-Url: http://git.dj3c1t.com/?a=blobdiff_plain;ds=sidebyside;f=mw%2Fapp%2Fdata%2Fmodules%2Fxml%2Fmw_data_users.php;fp=web%2Fapp%2Fdata%2Fmodules%2Fxml%2Fmw_data_users.php;h=a55257aba5a3c7aaeea0c1e3c679efa14186421b;hb=36ed114046cbe3d72a3589230e9f306a54fcc79d;hp=30e18908a50a69fab3c3817e903e4726c0a68896;hpb=281c96e95451269f2614684b8de5be25862c8374;p=mtweb diff --git a/web/app/data/modules/xml/mw_data_users.php b/mw/app/data/modules/xml/mw_data_users.php similarity index 99% rename from web/app/data/modules/xml/mw_data_users.php rename to mw/app/data/modules/xml/mw_data_users.php index 30e1890..a55257a 100644 --- a/web/app/data/modules/xml/mw_data_users.php +++ b/mw/app/data/modules/xml/mw_data_users.php @@ -77,7 +77,7 @@ else $user = false; if($user !== false){ if(!isset($this->users)) $this->users = array(); - $this->users[$user["id"]] = $user; + if($user) $this->users[$user["id"]] = $user; } return $user; } @@ -280,6 +280,7 @@ function get_action_status($mod, $controller = "index", $action = "index", $set_status = array()){ $sgbd = $this->sgbd(); + $status = array(); if($rst = $sgbd->open_data("action_status")){ while($status !==false && $v_rst = $sgbd->fetch_data($rst)){ if(isset($v_rst) && isset($v_rst["action"]) && isset($v_rst["id_status"])){