mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-18 03:11:40 +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) {
|
private function set_options(array $_plugin_options) {
|
||||||
// Check conditions
|
// Check conditions
|
||||||
foreach ( (Array)$_plugin_options['conditions'] as $key => $condition ) {
|
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]);
|
unset($_plugin_options['conditions'][$key]);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user