mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
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()
|
translation::charset()
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// Avoid warning if no definitions found
|
||||||
|
if(!is_array($definitions)) return;
|
||||||
|
|
||||||
// save definition(s) into internal table
|
// save definition(s) into internal table
|
||||||
foreach ( $definitions as $name => $definition_data )
|
foreach ( $definitions as $name => $definition_data )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user