Skip to content

Commit

Permalink
Move Check and Count
Browse files Browse the repository at this point in the history
  • Loading branch information
gamma committed Aug 5, 2020
1 parent 5c03630 commit 419456e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions action.php
Expand Up @@ -56,13 +56,12 @@ function metaheaders(Doku_Event $event, $param) {

$headerconf = DOKU_CONF.'metaheaders.conf.php';

if (@file_exists($headerconf) && is_array($clear)) {
if (@file_exists($headerconf)) {

require_once($headerconf);
$nclear = count($clear);

if (!empty($clear)) {

$nclear = count($clear);
foreach( $head as $outerType => $list ) {

$nlink = count($list);
Expand Down

0 comments on commit 419456e

Please sign in to comment.