is_exclusive argument added to all lock_data() functions, (exclusivity is always...
[brisk.git] / web / Obj / dbase_pgsql.phh
index 8dbdfb6..1a05b70 100644 (file)
@@ -150,7 +150,7 @@ class BriskDB
         log_main("login[".$user_obj->code."]: ".$user_obj->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++) {
                     log_main("challenge[".$e."]: ".$chals->item[$e]->login);