mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 06:53:15 +00:00
Merge with 3.7
This commit is contained in:
@@ -83,7 +83,7 @@ class patch_370a8 implements patchInterface
|
||||
* migrating task 'workflow01' or 'task_period_ftv'
|
||||
*/
|
||||
$x = $task['settings'];
|
||||
if (($sx = simplexml_load_string($x)) !== FALSE) {
|
||||
if (false !== $sx = simplexml_load_string($x)) {
|
||||
$period = (int) ($sx->period);
|
||||
|
||||
if ( ! array_key_exists('_' . $period, $tdom)) {
|
||||
|
Reference in New Issue
Block a user