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