mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +01:00
Silence warning if there are no conditions
This commit is contained in:
parent
87ff796a09
commit
915445fc44
@ -180,7 +180,7 @@ class importexport_definition implements importexport_iface_egw_record {
|
||||
*/
|
||||
private function set_options(array $_plugin_options) {
|
||||
// Check conditions
|
||||
foreach ( $_plugin_options['conditions'] as $key => $condition ) {
|
||||
foreach ( (Array)$_plugin_options['conditions'] as $key => $condition ) {
|
||||
if(!$condition['string'])
|
||||
{
|
||||
unset($_plugin_options['conditions'][$key]);
|
||||
|
Loading…
Reference in New Issue
Block a user