From 4ffef00aca19df831179d51a8cef5376df6fd6c1 Mon Sep 17 00:00:00 2001 From: Andras Timar Date: Wed, 24 May 2017 15:11:42 +0200 Subject: [PATCH] Fix issue#68: undefined variable instanceId --- lib/helper.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/helper.php b/lib/helper.php index 55e6f410..d6632ae7 100644 --- a/lib/helper.php +++ b/lib/helper.php @@ -23,6 +23,7 @@ class Helper { $arr = explode('_', $fileId); if (count($arr) === 1) { $fileId = $arr[0]; + $instanceId = ''; $version = '0'; } else if (count($arr) === 2) { list($fileId, $instanceId) = $arr;