summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-07-03 16:47:46 +0200
committerGeorg Ehrke <dev@georgswebsite.de>2012-07-03 16:47:46 +0200
commitb6cff93254176b9a8a88cd0e6c8a29c70d1eac20 (patch)
tree36dc5734d827d23680b09208f10a8bb6a24ce153
parent0b3ed2b048df99686bd6e0edebfb51f8ac5bf08e (diff)
downloadnextcloud-server-b6cff93254176b9a8a88cd0e6c8a29c70d1eac20.tar.gz
nextcloud-server-b6cff93254176b9a8a88cd0e6c8a29c70d1eac20.zip
fix spelling fail in code
-rw-r--r--apps/calendar/ajax/import/import.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/calendar/ajax/import/import.php b/apps/calendar/ajax/import/import.php
index b251c94f4f4..63f761dd27f 100644
--- a/apps/calendar/ajax/import/import.php
+++ b/apps/calendar/ajax/import/import.php
@@ -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;