Skip to content

Commit

Permalink
Fix last commit to Filters config file.
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-unwin committed Apr 16, 2024
1 parent 19468c0 commit cf53c99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Config/Filters.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class Filters extends BaseConfig

public function __construct()
{
if (stripos($_SERVER['SCRIPT_NAME'], 'scripts') and $_SERVER['SCRIPT_NAME'](haystack, 'download')) {
if (stripos($_SERVER['SCRIPT_NAME'], 'scripts') and stripos($_SERVER['SCRIPT_NAME'], 'download')) {
unset($this->globals['after']['toolbar']);
}
}
Expand Down

0 comments on commit cf53c99

Please sign in to comment.