projects
/
brisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
indice dei touch per ftok corretto da 1-100 a 0-99
[brisk.git]
/
web
/
briskin5
/
index_wr.php
diff --git
a/web/briskin5/index_wr.php
b/web/briskin5/index_wr.php
index
9f070f9
..
381b3ff
100644
(file)
--- a/
web/briskin5/index_wr.php
+++ b/
web/briskin5/index_wr.php
@@
-40,7
+40,14
@@
if ($table_idx < 0 || $table_idx >= TABLE_N)
exit;
$sem = Briskin5::lock_data($table_idx);
exit;
$sem = Briskin5::lock_data($table_idx);
-$bri = &Briskin5::load_data($table_idx,$table_token);
+
+if (($bri = &Briskin5::load_data($table_idx,$table_token)) == FALSE) {
+ echo "Bin5 Load data error";
+ log_wr("Bin5 Load data error");
+ Briskin5::unlock_data($sem);
+ exit;
+}
+
if (($user = &$bri->get_user($sess, &$idx)) == FALSE) {
echo "Get User Error";
log_wr("Get User Error");
if (($user = &$bri->get_user($sess, &$idx)) == FALSE) {
echo "Get User Error";
log_wr("Get User Error");