Loading admin/src/BddAdmin/Table.php +1 −1 Original line number Diff line number Diff line Loading @@ -356,7 +356,7 @@ class Table $oldc = isset($old[$c]) ? $old[$c] : null; if ($newc instanceof \DateTime) $newc = $newc->format('Y-m-d'); if ($oldc instanceof \DateTime) $oldc = $oldc->format('Y-m-d'); if ($newc !== $oldc && array_key_exists($c, $new) && $c != 'ID') { if ($newc != $oldc && array_key_exists($c, $new) && $c != 'ID') { $ok = empty($options['update-cols']); // OK par défaut si une liste n'a pas été établie manuellement if (in_array($c, $options['update-cols'])) $ok = true; Loading Loading
admin/src/BddAdmin/Table.php +1 −1 Original line number Diff line number Diff line Loading @@ -356,7 +356,7 @@ class Table $oldc = isset($old[$c]) ? $old[$c] : null; if ($newc instanceof \DateTime) $newc = $newc->format('Y-m-d'); if ($oldc instanceof \DateTime) $oldc = $oldc->format('Y-m-d'); if ($newc !== $oldc && array_key_exists($c, $new) && $c != 'ID') { if ($newc != $oldc && array_key_exists($c, $new) && $c != 'ID') { $ok = empty($options['update-cols']); // OK par défaut si une liste n'a pas été établie manuellement if (in_array($c, $options['update-cols'])) $ok = true; Loading