Skip to content

Commit

Permalink
Fixed filters on PHP 5.x
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshyPHP committed Nov 24, 2017
1 parent 3f7e1e0 commit 081b735
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/upload/library/s9e/MediaBBCodes.php
Expand Up @@ -915,7 +915,7 @@ protected static function applyFilters($siteId, array &$vars)

foreach ($callbacks as $callback)
{
$vars[$varName] = $callback($vars[$varName]);
$vars[$varName] = call_user_func($callback, $vars[$varName]);
}
}
}
Expand Down

0 comments on commit 081b735

Please sign in to comment.