forked from extern/egroupware
Avoid warnings if no definitions found in file
This commit is contained in:
parent
78ce5f8941
commit
f43c3c7c13
@ -158,6 +158,9 @@ class importexport_definitions_bo {
|
||||
translation::charset()
|
||||
);
|
||||
|
||||
// Avoid warning if no definitions found
|
||||
if(!is_array($definitions)) return;
|
||||
|
||||
// save definition(s) into internal table
|
||||
foreach ( $definitions as $name => $definition_data )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user