From ae10573235603d745eacbbe535e54a6f672b211e Mon Sep 17 00:00:00 2001 From: fusionate Date: Sun, 4 Jun 2023 01:50:54 +0000 Subject: [PATCH] Recordings - App Defaults: Minor adjustment to IF statement. --- app/recordings/app_defaults.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/recordings/app_defaults.php b/app/recordings/app_defaults.php index 52c2156a07..2b7bb39900 100644 --- a/app/recordings/app_defaults.php +++ b/app/recordings/app_defaults.php @@ -17,7 +17,7 @@ The Initial Developer of the Original Code is Mark J Crane - Portions created by the Initial Developer are Copyright (C) 2008-2016 + Portions created by the Initial Developer are Copyright (C) 2008-2023 the Initial Developer. All Rights Reserved. Contributor(s): @@ -25,7 +25,7 @@ */ //if the recordings directory doesn't exist then create it - if (!empty($_SESSION['switch']['recordings']) && !empty($_SESSION['switch']['recordings']['dir']."/".$domain_name)) { + if (!empty($_SESSION['switch']['recordings']['dir']) && !empty($domain_name)) { if (!is_readable($_SESSION['switch']['recordings']['dir']."/".$domain_name)) { mkdir($_SESSION['switch']['recordings']['dir']."/".$domain_name, 0770, true); }