remove not working email from selectbox in search for adding participants

This commit is contained in:
Ralf Becker 2014-10-01 12:54:28 +00:00
parent 0a34fceee2
commit 9f1dfdb97b

View File

@ -1457,6 +1457,7 @@ class calendar_uiforms extends calendar_ui
$content['participants']['cal_resources'] = ''; $content['participants']['cal_resources'] = '';
foreach($this->bo->resources as $data) foreach($this->bo->resources as $data)
{ {
if ($data['app'] == 'email') continue; // make no sense, as we cant search for email
$content['participants']['cal_resources'] .= ','.$data['app']; $content['participants']['cal_resources'] .= ','.$data['app'];
} }
// adding extra content for the resource link-entry widget to // adding extra content for the resource link-entry widget to