mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-28 10:53:39 +01:00
Importexport: Always show import preview, even if there are warnings
This commit is contained in:
parent
eaacac1b40
commit
59f94300db
@ -137,14 +137,14 @@ use EGroupware\Api\Etemplate;
|
||||
if($content['dry-run'])
|
||||
{
|
||||
$preview = $this->preview($plugin, $file, $definition_obj);
|
||||
if(trim($this->message) == '')
|
||||
{
|
||||
|
||||
$template->setElementAttribute('message', 'value', $this->message);
|
||||
|
||||
// Clear first, to prevent request from being collected if the result is the same
|
||||
$template->setElementAttribute('preview', 'value', '');
|
||||
$template->setElementAttribute('preview', 'value', $preview);
|
||||
return;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
importexport_helper_functions::$dry_run = false;
|
||||
|
Loading…
Reference in New Issue
Block a user