Skip to content

Commit

Permalink
#2708 - Unsaved changed for last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
abrookbanks committed Jun 10, 2022
1 parent e1e2c49 commit a55190b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/hookloader.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ public function load($trigger)
*/
public function scan_all_plugins($dir = 'plugins', $enabled = false)
{
$plugins = false;
$plugins = array();
$dir = ($dir=='plugins') ? $this->_hook_dir : $dir;
if (($folders = glob($dir.'/'.'*', GLOB_ONLYDIR)) !== false) {
foreach ($folders as $folder) {
Expand Down

0 comments on commit a55190b

Please sign in to comment.