mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +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