Skip to content

Commit

Permalink
Fixing #5298 - plugin_manag.php mishandling the --plugin option
Browse files Browse the repository at this point in the history
Cacti cli plugin_manage.php mishandles the --plugin option
  • Loading branch information
TheWitness committed Apr 10, 2023
1 parent 9107a03 commit 4a7c6ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Cacti CHANGELOG
-issue#5282: Script ss_host_cpu.php does not work as expected when on a remote data collector with hmib enabled
-issue#5283: Trying to access array offset on value of type null in file lib/functions.php on line: 2276
-issue#5291: Error thrown when installing package
-issue#5298: Cacti cli plugin_manage.php mishandles the --plugin option
-feature: Upgrade billboard.js to version 3.7.4
-feature: Upgrade d3.js to version 7.8.2

Expand Down
2 changes: 1 addition & 1 deletion cli/plugin_manage.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
foreach($options as $arg => $value) {
switch($arg) {
case 'plugin':
$plugins = $value;
$plugins[] = $value;
break;

case 'install':
Expand Down

0 comments on commit 4a7c6ee

Please sign in to comment.