1
0
mirror of https://github.com/mrclay/minify.git synced 2025-08-11 08:34:19 +02:00

remove duplicate $keys. refs bceffd5

This commit is contained in:
Elan Ruusamäe
2014-10-12 17:32:43 +03:00
parent 4b495f6ae0
commit bce6facdca

View File

@@ -50,7 +50,6 @@ class Minify_Controller_MinApp extends Minify_Controller_Base {
$this->log("Duplicate group key found."); $this->log("Duplicate group key found.");
return new Minify_ServeConfiguration($options); return new Minify_ServeConfiguration($options);
} }
$keys = explode(',', $get['g']);
foreach ($keys as $key) { foreach ($keys as $key) {
if (! isset($localOptions['groups'][$key])) { if (! isset($localOptions['groups'][$key])) {
$this->log("A group configuration for \"{$key}\" was not found"); $this->log("A group configuration for \"{$key}\" was not found");