reorganisation des dossiers
[mtweb] / 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 (file)
@@ -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;
     }
 
     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"])){