fix the append box when importing collections

This commit is contained in:
Jason Alavaliant 2013-04-21 21:52:19 +12:00 committed by Andrew McMillan
parent 2f27d181f0
commit 72dc5b1f39

View File

@ -115,7 +115,7 @@ if ( $can_write_collection && $editor->IsSubmit() ) {
param_to_global('mode');
include_once('caldav-PUT-functions.php');
controlRequestContainer( $username, $user_no, $path, false, ($publicly_readable == 'on' ? true : false));
import_collection( $ics, $user_no, $path, $session->user_no, ($mode == 'append') );
import_collection( $ics, $user_no, $path, $session->user_no, ($mode == 'on') );
$c->messages[] = sprintf(translate('Calendar "%s" was loaded from file.'), $path);
}
else {