thomascube
2012-03-08 c388257078b732bb474afa475e986ec66b01165d
Only run value through format_date if no render_func was called before

1 files modified
3 ■■■■ changed files
program/steps/addressbook/func.inc 3 ●●●● patch | view | raw | blame | history
program/steps/addressbook/func.inc
@@ -616,9 +616,10 @@
                        if ($colprop['subtypes'] || $colprop['limit'] != 1)
                            $colprop['array'] = true;
                        // load jquery UI datepickert for date fields
                        // load jquery UI datepicker for date fields
                        if ($colprop['type'] == 'date') {
                            $colprop['class'] .= ($colprop['class'] ? ' ' : '') . 'datepicker';
                            if (!$colprop['render_func'])
                            $val = rcmail_format_date_col($val);
                        }