product was a bad string to use because we may require it for e-commerce, and RED_PLATFORM is equally problematic for other reasons.

This commit is contained in:
redmatrix
2015-05-13 16:01:00 -07:00
parent c3c202d650
commit d6f98e6511
11 changed files with 15 additions and 15 deletions

View File

@@ -62,7 +62,7 @@ function ical_wrapper($ev) {
$o .= "BEGIN:VCALENDAR";
$o .= "\nVERSION:2.0";
$o .= "\nMETHOD:PUBLISH";
$o .= "\nPRODID:-//" . get_config('system','sitename') . "//" . RED_PLATFORM . "//" . strtoupper(get_app()->language). "\n";
$o .= "\nPRODID:-//" . get_config('system','sitename') . "//" . PLATFORM_NAME . "//" . strtoupper(get_app()->language). "\n";
if(array_key_exists('start', $ev))
$o .= format_event_ical($ev);
else {