From a48c496e143ec73fbf8b145736db0fea6d030833 Mon Sep 17 00:00:00 2001
From: Jonathan <jonathan.leon@pandorafms.com>
Date: Thu, 3 Aug 2023 12:22:35 +0200
Subject: [PATCH] #11822 fix sound events window

---
 pandora_console/operation/events/sound_events.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pandora_console/operation/events/sound_events.php b/pandora_console/operation/events/sound_events.php
index 24179733e5..1a25c20c64 100644
--- a/pandora_console/operation/events/sound_events.php
+++ b/pandora_console/operation/events/sound_events.php
@@ -27,12 +27,12 @@
  */
 
 
+global $config;
 require_once '../../include/config.php';
 require_once '../../include/functions.php';
 require_once '../../include/functions_db.php';
 require_once '../../include/auth/mysql.php';
-
-global $config;
+require_once $config['homedir'].'/include/class/HTML.class.php';
 
 // Check user.
 check_login();