mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:42 +01:00
Avoid warning if conditions do not exist
This commit is contained in:
parent
ec04121692
commit
b7c0fce767
@ -181,7 +181,7 @@ class importexport_definition implements importexport_iface_egw_record {
|
||||
private function set_options(array $_plugin_options) {
|
||||
// Check conditions
|
||||
foreach ( (Array)$_plugin_options['conditions'] as $key => $condition ) {
|
||||
if(!$condition['string'])
|
||||
if(!$condition['string'] && array_key_exists($key, $_plugin_options['conditions']))
|
||||
{
|
||||
unset($_plugin_options['conditions'][$key]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user