Quick fix for index errors when not importing from files.

This commit is contained in:
Thomas Tanghus 2012-06-11 22:12:06 +02:00
parent c75f9f9397
commit 4b86cbcb6f

View file

@ -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);