Skip to content

Commit

Permalink
Fix lock check
Browse files Browse the repository at this point in the history
  • Loading branch information
Janzert committed Dec 16, 2011
1 parent f8cb099 commit 928fdad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/api_get_task.php
Expand Up @@ -44,7 +44,7 @@
$match_row["matchup_id"],
$match_worker);
// Check that we actually got the lock
if (!$lock_result or mysql_affected_rows($lock_result) < 1) {
if (!$lock_result or mysql_affected_rows() < 1) {
$match_result = null;
continue;
}
Expand Down

0 comments on commit 928fdad

Please sign in to comment.