From e94cedcc6d51201efbd751ae23672dc0d7b277a0 Mon Sep 17 00:00:00 2001 From: Nate Date: Wed, 12 Feb 2020 15:24:42 -0700 Subject: [PATCH] Devices - Edit: Check exists template directory and templates array to mitigate warnings. --- app/devices/device_edit.php | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/app/devices/device_edit.php b/app/devices/device_edit.php index 608ceaccf0..563922d73a 100644 --- a/app/devices/device_edit.php +++ b/app/devices/device_edit.php @@ -778,18 +778,22 @@ $template_dir = $device->get_template_dir(); echo "