users importer from file to database
[brisk.git] / web / Obj / brisk.phh
index 02b91d6..f9f54f0 100644 (file)
@@ -277,7 +277,6 @@ Copyright 2006-2009 <a href=\\"mailto:brisk@alternativeoutput.it\\">Matteo Nasta
 <br><b>version '.$G_brisk_version.'</b><br><br>
 Copyright 2006-2009 <a href=\\"mailto:brisk@alternativeoutput.it\\">Matteo Nastasi</a> (aka mop)<br><br>');
 
-
 $escinp_from = array( "\""     );
 $escinp_to = array(   "&quot;" );
 
@@ -2051,7 +2050,9 @@ class Room {
       if ($login_exists)
         $idx = -($idx + 1);
       log_main(sprintf("TROVATO LIBERO A [%d] sess [%s] name [%s] count [%d] [%s]", $idx, $sess, $name_new, count($this->user),$this->user[$real_idx]->name));
-      return ($this->user[$real_idx]);
+
+      $ret = $this->user[$real_idx];
+      return ($ret);
     }
 
     return ($G_false);