diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2012-06-11 22:12:06 +0200 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2012-06-11 22:14:21 +0200 |
commit | 4b86cbcb6f36b1ee545b00695c01817eb1780157 (patch) | |
tree | ab8ec3e23b284612a1d506f42931e1ce4b3b2e23 /apps/contacts/import.php | |
parent | c75f9f9397a3b21a5165a4f2632882fdc1d894c3 (diff) | |
download | nextcloud-server-4b86cbcb6f36b1ee545b00695c01817eb1780157.tar.gz nextcloud-server-4b86cbcb6f36b1ee545b00695c01817eb1780157.zip |
Quick fix for index errors when not importing from files.
Diffstat (limited to 'apps/contacts/import.php')
-rw-r--r-- | apps/contacts/import.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/contacts/import.php b/apps/contacts/import.php index 0ee35f9fd81..c95fd970fe1 100644 --- a/apps/contacts/import.php +++ b/apps/contacts/import.php @@ -15,7 +15,7 @@ session_write_close(); $nl = "\n"; global $progresskey; -$progresskey = 'contacts.import-' . $_GET['progresskey']; +$progresskey = 'contacts.import-' . (isset($_GET['progresskey'])?$_GET['progresskey']:''); if (isset($_GET['progress']) && $_GET['progress']) { echo OC_Cache::get($progresskey); |