fix spelling fail in code
This commit is contained in:
parent
0b3ed2b048
commit
b6cff93254
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue