mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
Show new / edit definition options on any warning
This commit is contained in:
parent
03fe6356cb
commit
870d49f881
@ -285,6 +285,7 @@
|
||||
public static function check_file(&$file, &$definition, &$message = array(), $dst_file = false)
|
||||
{
|
||||
$options =& $definition->plugin_options;
|
||||
$message_count = count($message);
|
||||
|
||||
// Only CSV files
|
||||
if(!$options['csv_fields']) return true;
|
||||
@ -318,7 +319,7 @@
|
||||
// $ok = false;
|
||||
}
|
||||
}
|
||||
if(!$ok)
|
||||
if(!$ok || count($message != $message_count))
|
||||
{
|
||||
// Add links for new / edit definition
|
||||
$config = config::read('importexport');
|
||||
|
Loading…
Reference in New Issue
Block a user