1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 14:17:49 +02:00

Fixes #1441 No button to refresh plugins list

This commit is contained in:
Cameron
2016-04-04 18:57:11 -07:00
parent c2c9246063
commit 9a1eb43561

View File

@@ -182,12 +182,15 @@ class admin_shortcodes
$helpfile = $plugpath;
}
}
if (!$helpfile) { return ''; }
ob_start();
include_once($helpfile);
$help_text .= ob_get_contents();
ob_end_clean();
if(!empty($helpfile))
{
ob_start();
include_once($helpfile);
$help_text .= ob_get_contents();
ob_end_clean();
}
return $help_text;
}