Permalink
Browse files

Typo in DELETE query

  • Loading branch information...
1 parent 8f42869 commit 50638309fd515118abc48d562f25fb75ef57d857 @cdujeu cdujeu committed Oct 7, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/src/plugins/core.tasks/src/Providers/SqlTasksProvider.php
@@ -120,7 +120,7 @@ protected function taskFromDBValues(\DibiRow $values){
*/
protected function insertOrUpdateNodes($task, $update = false){
if($update){
- dibi::query("DELETE FROM [ajxp_tasks] WHERE [task_uid]=%s", $task->getId());
+ dibi::query("DELETE FROM [ajxp_tasks_nodes] WHERE [task_uid]=%s", $task->getId());
}
foreach($task->nodes as $nodeUrl){
$nodePath = parse_url($nodeUrl, PHP_URL_PATH);

0 comments on commit 5063830

Please sign in to comment.