diff --git a/include/block.inc.php b/include/block.inc.php index e6af57c..abb3ff7 100755 --- a/include/block.inc.php +++ b/include/block.inc.php @@ -290,6 +290,7 @@ class Block $db->commit(); } // relese the locking as everything is finished + $db->exec("UNLOCK TABLES"); /*** * @@ -380,7 +381,6 @@ class Block ); } - $db->exec("UNLOCK TABLES"); return true; }