From 99cfde6479207ba9349d8c4a093ef14a1026154d Mon Sep 17 00:00:00 2001 From: Jim Hu Date: Sat, 13 Dec 2008 23:42:30 +0000 Subject: debug rrules; fix cookie injection vuln --- functions/list_functions.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'functions/list_functions.php') diff --git a/functions/list_functions.php b/functions/list_functions.php index 7f6d817..8a6344d 100644 --- a/functions/list_functions.php +++ b/functions/list_functions.php @@ -13,14 +13,14 @@ function list_jumps() { } function list_calcolors() { - global $template, $master_array, $unique_colors; + global $phpiCal_config, $master_array; $return = ''; $i = 1; if (is_array($master_array['-3'])) { foreach ($master_array['-3'] as $key => $val) { - if ($i > $unique_colors) $i = 1; + if ($i > $phpiCal_config->unique_colors) $i = 1; $val = str_replace ("\,", ",", $val); - $return .= ' '.$val.'
'; + $return .= ' '.$val.'
'; $i++; } } -- cgit v1.2.3