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