mirror of
https://github.com/fruithost/Panel.git
synced 2026-11-30 20:35:44 +09:00
Fix modal, database and Module/PHP
This commit is contained in:
7 files changed
+15
-27
No files matched your search
@@ -48,7 +48,7 @@
|
||||
return $this->instance->getSettings($name, $default);
|
||||
}
|
||||
|
||||
public function addButton(Button $button, bool $logged_in = false) {
|
||||
public function addButton(Button | array $button, bool $logged_in = false) {
|
||||
$this->addFilter('buttons', function($buttons) use($button) {
|
||||
$buttons[] = $button;
|
||||
return $buttons;
|
||||
|
||||
Reference in new issue
Block a user