From 902cd975b9afb0ed8bf5c9f7fb02e6252d0aeae5 Mon Sep 17 00:00:00 2001 From: Zachary Klosko Date: Fri, 1 Jan 2021 10:13:44 -0500 Subject: [PATCH] Asking StreamSetting model to fill from config for host --- airtime_mvc/application/models/StreamSetting.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airtime_mvc/application/models/StreamSetting.php b/airtime_mvc/application/models/StreamSetting.php index 4454560f0..aa99d9917 100644 --- a/airtime_mvc/application/models/StreamSetting.php +++ b/airtime_mvc/application/models/StreamSetting.php @@ -156,7 +156,7 @@ class Application_Model_StreamSetting self::ensureKeyExists($keyPrefix . 'description', $data); self::ensureKeyExists($keyPrefix . 'enable', $data, "false"); self::ensureKeyExists($keyPrefix . 'genre', $data); - self::ensureKeyExists($keyPrefix . 'host', $data); + self::ensureKeyExists($keyPrefix . 'host', $data, $config['baseUrl']); self::ensureKeyExists($keyPrefix . 'liquidsoap_error', $data, "waiting"); self::ensureKeyExists($keyPrefix . 'mount', $data); self::ensureKeyExists($keyPrefix . 'name', $data);