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;