mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
Fix not shown import errors & warnings
This commit is contained in:
parent
ab72074036
commit
d58a25bbfc
@ -124,14 +124,17 @@
|
||||
if($content['dry-run'])
|
||||
{
|
||||
$preview = $this->preview($plugin, $file, $definition_obj);
|
||||
$template->setElementAttribute('preview', 'value', $preview);
|
||||
if(trim($this->message) == '') return;
|
||||
if(trim($this->message) == '')
|
||||
{
|
||||
$template->setElementAttribute('preview', 'value', $preview);
|
||||
return;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
importexport_helper_functions::$dry_run = false;
|
||||
$count = $plugin->import($file, $definition_obj);
|
||||
}
|
||||
$count = $plugin->import($file, $definition_obj);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user