mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-15 14:03:27 +00:00
fix bad sql
This commit is contained in:
@@ -591,7 +591,7 @@ class task_period_ftp extends task_appboxAbstract
|
||||
$stmt = $conn->prepare($sql);
|
||||
$stmt->execute();
|
||||
$stmt->closeCursor();
|
||||
$sql = 'DELET FROM ftp_export_elements WHERE ftp_export_id = :export_id AND error="0"';
|
||||
$sql = 'DELETE FROM ftp_export_elements WHERE ftp_export_id = :export_id AND error="0"';
|
||||
$stmt = $conn->prepare($sql);
|
||||
$stmt->execute(array(':export_id' => $id));
|
||||
$stmt->closeCursor();
|
||||
|
Reference in New Issue
Block a user