Fix: commit at wrong place
This commit is contained in:
parent
0f8156ebcf
commit
ef79c1ba21
@ -387,8 +387,6 @@ class Task extends CommonObject
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->db->commit();
|
||||
|
||||
$this->db->free($resql);
|
||||
|
||||
//Delete associated link file
|
||||
@ -409,6 +407,8 @@ class Task extends CommonObject
|
||||
}
|
||||
}
|
||||
|
||||
$this->db->commit();
|
||||
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user