diff options
author | Georg Ehrke <dev@georgswebsite.de> | 2012-07-04 21:14:40 +0200 |
---|---|---|
committer | Georg Ehrke <dev@georgswebsite.de> | 2012-07-04 21:14:40 +0200 |
commit | a4c28931289ea2d93f9338f43a8b2c647cf6535e (patch) | |
tree | 6dc9a1e169d6cf6c6ce60ac31db7c9221022f22e /apps/calendar/ajax | |
parent | 5880bbee8f11b4a999cf9f11e9fca3c5739057ec (diff) | |
download | nextcloud-server-a4c28931289ea2d93f9338f43a8b2c647cf6535e.tar.gz nextcloud-server-a4c28931289ea2d93f9338f43a8b2c647cf6535e.zip |
some more work on calendar import - new import is (nearly) done
Diffstat (limited to 'apps/calendar/ajax')
-rw-r--r-- | apps/calendar/ajax/import/import.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/calendar/ajax/import/import.php b/apps/calendar/ajax/import/import.php index b5a97e5d123..cbb4b550569 100644 --- a/apps/calendar/ajax/import/import.php +++ b/apps/calendar/ajax/import/import.php @@ -37,7 +37,7 @@ if($_POST['method'] == 'new'){ $newcal = true; } if($newcal){ - $id = OC_Calendar_Calendar::addCalendar(OCP\USER::getUser(), strip_tags($_POST['calname']),'VEVENT,VTODO,VJOURNAL',null,0,$import->createCalendarColor()); + $id = OC_Calendar_Calendar::addCalendar(OCP\USER::getUser(), strip_tags($_POST['calname']),'VEVENT,VTODO,VJOURNAL',null,0,strip_tags($_POST['calcolor'])); OC_Calendar_Calendar::setCalendarActive($id, 1); } }else{ |