fix spelling fail in code
This commit is contained in:
parent
0b3ed2b048
commit
b6cff93254
|
@ -24,7 +24,7 @@ $newcal = false;
|
|||
if($_POST['method'] == 'new'){
|
||||
$calendars = OC_Calendar_Calendar::allCalendars(OCP\User::getUser());
|
||||
foreach($calendars as $calendar){
|
||||
if($calendar['dispalyname'] == $_POST['calname']){
|
||||
if($calendar['displayname'] == $_POST['calname']){
|
||||
$id = $calendar['id'];
|
||||
$newcal = false;
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue