"fixed not displayed customfields in 1.4 calendar csv import"

This commit is contained in:
Ralf Becker 2008-07-08 12:16:58 +00:00
parent 9e18fccb99
commit 2f28409738

View File

@ -182,7 +182,8 @@
$custom_fields = $config->read_repository();
unset($config);
//echo "custom-fields=<pre>".print_r($custom_fields,True)."</pre>";
foreach ($custom_fields as $name => $data)
if (is_array($custom_fields['customfields']))
foreach ($custom_fields['customfields'] as $name => $data)
{
$cal_names['#'.$name] = $data['label'].': Custom field ('.$data['type'].')';
}