X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fbriskin5%2Findex_wr.php;h=381b3ffa832936de0ac61b50e9e44335f1afce0a;hb=c2fcedbadc3295bb207b9948174408eea2877f22;hp=9f070f9fb28236794a2a17d5c8205b5f69648bf2;hpb=faf9feed79ac32b41afc6bf4c954f92a028ab4ed;p=brisk.git diff --git a/web/briskin5/index_wr.php b/web/briskin5/index_wr.php index 9f070f9..381b3ff 100644 --- 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); -$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");