mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 17:18:54 +01:00
bugifx from jan
This commit is contained in:
parent
e612d2c15f
commit
87dcfb1c10
@ -49,8 +49,10 @@ class Horde_iCalendar {
|
||||
# require_once 'Horde/String.php';
|
||||
$type = strtolower($type);
|
||||
$class = 'Horde_iCalendar_' . strtolower($type);
|
||||
include_once dirname(__FILE__) . '/iCalendar/' . $type . '.php';
|
||||
if (class_exists($class)) {
|
||||
if (!class_exists($class)) {
|
||||
include_once dirname(__FILE__) . '/iCalendar/' . $type . '.php';
|
||||
}
|
||||
if (class_exists($class)) {
|
||||
$component = &new $class();
|
||||
if ($container !== false) {
|
||||
$component->_container = &$container;
|
||||
|
Loading…
Reference in New Issue
Block a user