mirror of
https://github.com/joomla-extensions/jedchecker.git
synced 2024-11-16 10:05:14 +00:00
simplify code
This commit is contained in:
parent
ad64bd21b7
commit
f9a073beab
@ -80,11 +80,7 @@ class JedcheckerRulesEncoding extends JEDcheckerRule
|
|||||||
|
|
||||||
// Get the functions to look for
|
// Get the functions to look for
|
||||||
$encodings = explode(',', $this->params->get('encodings'));
|
$encodings = explode(',', $this->params->get('encodings'));
|
||||||
|
$encodings = array_map('trim', $encodings);
|
||||||
foreach ($encodings as $i => $encoding)
|
|
||||||
{
|
|
||||||
$encodings[$i] = trim($encoding);
|
|
||||||
}
|
|
||||||
|
|
||||||
$found = false;
|
$found = false;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user