mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 17:33:49 +01:00
Fix date comparison when importing definitions
This commit is contained in:
parent
0f5a354a12
commit
9f20d116b6
@ -173,7 +173,7 @@ class importexport_definitions_bo {
|
|||||||
$definition = new importexport_definition( $definition_data['name'] );
|
$definition = new importexport_definition( $definition_data['name'] );
|
||||||
|
|
||||||
// Only update if the imported is newer
|
// Only update if the imported is newer
|
||||||
if($definition->modified < $definition_data['modified'] || $definition->modified == 0)
|
if(strtotime($definition->modified) < strtotime($definition_data['modified']) || $definition->modified == 0)
|
||||||
{
|
{
|
||||||
$definition_id = $definition->get_identifier() ? $definition->get_identifier() : NULL;
|
$definition_id = $definition->get_identifier() ? $definition->get_identifier() : NULL;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user