mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 12:33:26 +00:00
fix bug when starting the task with no tasks set
This commit is contained in:
@@ -337,7 +337,7 @@ class task_period_RecordMover extends task_appboxAbstract
|
||||
{
|
||||
$this->maxrecs = 1000;
|
||||
$this->sxTaskSettings = @simplexml_load_string($this->getSettings());
|
||||
if ( ! $this->sxTaskSettings) {
|
||||
if ( ! $this->sxTaskSettings || !$this->sxTaskSettings->tasks) {
|
||||
return array();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user