fix spelling fail in code

This commit is contained in:
Georg Ehrke 2012-07-03 16:47:46 +02:00
parent 0b3ed2b048
commit b6cff93254
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ $newcal = false;
if($_POST['method'] == 'new'){ if($_POST['method'] == 'new'){
$calendars = OC_Calendar_Calendar::allCalendars(OCP\User::getUser()); $calendars = OC_Calendar_Calendar::allCalendars(OCP\User::getUser());
foreach($calendars as $calendar){ foreach($calendars as $calendar){
if($calendar['dispalyname'] == $_POST['calname']){ if($calendar['displayname'] == $_POST['calname']){
$id = $calendar['id']; $id = $calendar['id'];
$newcal = false; $newcal = false;
break; break;