is_exclusive argument added to all lock_data() functions, (exclusivity is always...
[brisk.git] / web / Obj / dbase_file.phh
index 13dce47..d6d7b5b 100644 (file)
@@ -145,7 +145,7 @@ class BriskDB {
                 log_main("login[".$i."]: ".$this->item[$i]->login);
                 
                 /* if it exists check for a valid challenge */
-                if (($a_sem = Challenges::lock_data()) != FALSE) { 
+                if (($a_sem = Challenges::lock_data(TRUE)) != FALSE) { 
                     
                     if (($chals = &Challenges::load_data()) != FALSE) {
                         for ($e = 0 ; $e < $chals->item_n ; $e++) {