projects
/
brisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
aggiunto qualche unlock per evitare rilasci automatici del semaforo
[brisk.git]
/
web
/
index_rd.php
diff --git
a/web/index_rd.php
b/web/index_rd.php
index
994fe87
..
240891b
100644
(file)
--- a/
web/index_rd.php
+++ b/
web/index_rd.php
@@
-78,8
+78,10
@@
function maincheck($sess, $cur_stat, $cur_subst, $cur_step, &$new_stat, &$new_su
}
unlock_data($sem);
}
- else
+ else {
+ unlock_data($sem);
return (FALSE);
+ }
if (($user = &get_user(&$bri, $sess, $idx)) == FALSE) {
return (unrecerror());
@@
-113,6
+115,7
@@
function maincheck($sess, $cur_stat, $cur_subst, $cur_step, &$new_stat, &$new_su
}
else {
log_rd2($sess, "TRANS NON ATTIVATO");
+ unlock_data($sem);
}
}