Skip to content

Commit f5e08a9

Browse files
fix: ensure config is loaded in forms
1 parent 13b81c2 commit f5e08a9

File tree

1 file changed

+1
-1
lines changed
  • pfSense-pkg-RESTAPI/files/usr/local/pkg/RESTAPI/Core

1 file changed

+1
-1
lines changed

pfSense-pkg-RESTAPI/files/usr/local/pkg/RESTAPI/Core/Form.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ class Form {
319319
*/
320320
final public function print_form(): void {
321321
# Print the static pfSense UI and include any custom CSS or JS files
322-
global $user_settings;
322+
global $config, $user_settings;
323323
$pgtitle = $this->title_path;
324324
include 'head.inc';
325325
echo "<link rel='stylesheet' href='$this->custom_css'/>";

0 commit comments

Comments
 (0)