Fix undefined key when unload() is called with invalid args

This commit is contained in:
Kijin Sung 2025-06-21 08:28:46 +09:00
parent 6e06f72e3a
commit 4eebbf36b5

View file

@ -430,6 +430,10 @@ class FrontEndFileHandler extends Handler
public function unloadFile($fileName, $unused = '', $media = 'all')
{
$file = $this->getFileInfo($fileName, $unused, $media);
if (!isset($file->key))
{
return;
}
if($file->fileExtension == 'css')
{