mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
Cast to array to prevent warnings
This commit is contained in:
parent
320297bae1
commit
2ca0c13b34
@ -437,7 +437,7 @@ class importexport_helper_functions {
|
||||
public static function _has_definitions(Array $appnames, Array $types) {
|
||||
$def = new importexport_definitions_bo(array('application'=>$appnames, 'type' => $types));
|
||||
$list = array();
|
||||
foreach($def->get_definitions() as $id) {
|
||||
foreach((array)$def->get_definitions() as $id) {
|
||||
$definition = new importexport_definition($id);
|
||||
if($def->is_permitted($definition->get_record_array())) {
|
||||
$list[$definition->application][$definition->type] = $id;
|
||||
|
Loading…
Reference in New Issue
Block a user