diff --git a/lib/api_tree.php b/lib/api_tree.php index 9a5e692ec..5f9cbafc1 100644 --- a/lib/api_tree.php +++ b/lib/api_tree.php @@ -174,7 +174,7 @@ function api_tree_get_lock($lockname, $timeout = 10) { while ($count < 5) { if (register_process('tree_lock', $lockname, 0, $timeout)) { return true; - } else + } else { $count++; sleep(1); }