mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-20 20:01:28 +00:00
fix ARTICLE_BUTTON_PLUGINS not loaded when string contains spaces
This commit is contained in:
@@ -3434,7 +3434,7 @@
|
||||
$button_plugins = explode(",", ARTICLE_BUTTON_PLUGINS);
|
||||
|
||||
foreach ($button_plugins as $p) {
|
||||
$pclass = trim("button_${p}");
|
||||
$pclass = "button_" . trim($p);
|
||||
|
||||
if (class_exists($pclass)) {
|
||||
$plugin = new $pclass($link);
|
||||
|
||||
Reference in New Issue
Block a user