mirror of
https://github.com/mrclay/minify.git
synced 2025-08-12 09:05:08 +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);
|
$gc = (require $this->groupsConfigFile);
|
||||||
$keys = explode(',', $key);
|
$keys = explode(',', $key);
|
||||||
foreach ($keys as $key) {
|
foreach ($keys as $key) {
|
||||||
if (isset($gc[$key])) {
|
if (!isset($gc[$key])) {
|
||||||
$this->_lastModified = self::getLastModified($gc[$key], $this->_lastModified);
|
// 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