Merge with 3.7

This commit is contained in:
Romain Neutron
2012-11-07 16:16:13 +01:00
28 changed files with 540 additions and 576 deletions

View File

@@ -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)) {