summaryrefslogtreecommitdiffstats
path: root/apps/contacts/import.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/contacts/import.php')
-rw-r--r--apps/contacts/import.php2
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);