diff --git a/etemplate/inc/class.bo_merge.inc.php b/etemplate/inc/class.bo_merge.inc.php index b39e5accf6..03d82c81f0 100644 --- a/etemplate/inc/class.bo_merge.inc.php +++ b/etemplate/inc/class.bo_merge.inc.php @@ -1153,7 +1153,7 @@ abstract class bo_merge foreach($cf as $index => $field) { - if($cfs[$field]) + if($cfs[$field] && in_array($cfs[$field]['type'],$GLOBALS['egw_info']['apps']) ) { // Get replacements for that application $field_app = $cfs[$field]['type'];