mirror of
https://github.com/mrclay/minify.git
synced 2025-08-12 00:54:35 +02:00
cosmetic
also comment why the check may be neccessary
This commit is contained in:
@@ -121,9 +121,13 @@ class Minify_HTML_Helper {
|
||||
$gc = (require $this->groupsConfigFile);
|
||||
$keys = explode(',', $key);
|
||||
foreach ($keys as $key) {
|
||||
if (isset($gc[$key])) {
|
||||
$this->_lastModified = self::getLastModified($gc[$key], $this->_lastModified);
|
||||
if (!isset($gc[$key])) {
|
||||
// this can happen if value is null
|
||||
// which could be solved with array_filter
|
||||
continue;
|
||||
}
|
||||
|
||||
$this->_lastModified = self::getLastModified($gc[$key], $this->_lastModified);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user