diff --git a/src/Handler/AbstractHandler.php b/src/Handler/AbstractHandler.php index dab08ed..f483335 100644 --- a/src/Handler/AbstractHandler.php +++ b/src/Handler/AbstractHandler.php @@ -95,7 +95,7 @@ protected function createChunkFileName($additionalName = null) // ensure that the chunk name is for unique for the client session $useSession = $this->config->chunkUseSessionForName(); $useBrowser = $this->config->chunkUseBrowserInfoForName(); - if ($useSession && $this->canUseSession() === false) { + if ($useSession && static::canUseSession() === false) { $useBrowser = true; $useSession = false; } @@ -154,4 +154,4 @@ abstract public function isChunkedUpload(); * @return int */ abstract public function getPercentageDone(); -} \ No newline at end of file +}