diff options
Diffstat (limited to 'backend/backend.php')
-rwxr-xr-x | backend/backend.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/backend.php b/backend/backend.php index c35385e..7c5e54b 100755 --- a/backend/backend.php +++ b/backend/backend.php @@ -53,12 +53,12 @@ while (true) { $r=query('SELECT * FROM `builds` WHERE `status`=-128 ORDER BY `ctime` ASC LIMIT 1'); if ($r->rowCount()) { $build=new sql_build($r->fetch(PDO::FETCH_ASSOC)); - $owner=$build->get_owner(); $build->start=time(); $build->status=-1; $build->write(); query('UNLOCK TABLES'); debug('Starting build id='.$build->id); + $owner=$build->get_owner(); $file=null; try { if ($S['conf']['split_setup']) { |