mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-11-14 20:17:14 +01:00
Bugfix typos onlineshop_tasks -> onlineshops_tasks
This commit is contained in:
parent
b3b516d0ad
commit
6d0b0006b7
@ -1193,7 +1193,7 @@ INNER JOIN shopexport s ON
|
||||
$task = $this->app->DB->SelectRow('SELECT * FROM onlineshops_tasks WHERE shop_id=\'' . $shopid . '\' AND command=\'' . $command . '\'');
|
||||
if(!empty($task['id'])){
|
||||
if($task['status'] !== 'running'){
|
||||
$this->app->DB->Update('UPDATE onlineshop_tasks SET status=\'inactive\',counter=0 WHERE id=' . $task['id']);
|
||||
$this->app->DB->Update('UPDATE onlineshops_tasks SET status=\'inactive\',counter=0 WHERE id=' . $task['id']);
|
||||
}
|
||||
}
|
||||
else{
|
||||
|
@ -71,7 +71,7 @@ class WidgetShopexport extends WidgetGenShopexport
|
||||
$task = $this->app->DB->SelectRow('SELECT * FROM onlineshops_tasks WHERE shop_id=\'' . $id . '\' AND command=\'' . $command . '\' LIMIT 1');
|
||||
if(!empty($task['id'])){
|
||||
if($task['status'] !== 'running'){
|
||||
$this->app->DB->Update('UPDATE onlineshop_tasks SET status=\'inactive\',counter=0 WHERE id=' . $task['id']);
|
||||
$this->app->DB->Update('UPDATE onlineshops_tasks SET status=\'inactive\',counter=0 WHERE id=' . $task['id']);
|
||||
}
|
||||
}else{
|
||||
$this->app->DB->Insert('INSERT INTO onlineshops_tasks (shop_id, command) VALUES (' . $id . ',\'' . $command . '\')');
|
||||
|
Loading…
Reference in New Issue
Block a user