aboutsummaryrefslogtreecommitdiffstats
path: root/functions/calendar_functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'functions/calendar_functions.php')
-rw-r--r--functions/calendar_functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/calendar_functions.php b/functions/calendar_functions.php
index d5586f0..4a05759 100644
--- a/functions/calendar_functions.php
+++ b/functions/calendar_functions.php
@@ -226,7 +226,7 @@ function display_ical_list($cals, $pick=FALSE) {
while (!feof($ifile)) {
$line = fgets($ifile, 1024);
$line = trim($line);
- if (ereg ("([^:]+):(.*)", $line, $regs)){
+ if (preg_match ("/([^:]+):(.*)/", $line, $regs)){
$field = $regs[1];
$data = $regs[2];
$property = $field;

© 2014-2024 Faster IT GmbH | imprint | privacy policy