From 34f6a889b9b7c2a666ab2a23d964f0a20ff8fecf Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Tue, 23 Jun 2015 21:13:22 +0000 Subject: [PATCH] Fix the the syntax so the default will work correctly. --- app/extensions/extension_edit.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/extensions/extension_edit.php b/app/extensions/extension_edit.php index 92414a6eed..3407fdeedc 100644 --- a/app/extensions/extension_edit.php +++ b/app/extensions/extension_edit.php @@ -876,7 +876,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { //set the defaults if (strlen($limit_max) == 0) { $limit_max = '5'; } if (strlen($call_timeout) == 0) { $call_timeout = '30'; } - if (strlen($call_screen_enabled == 0)) { $call_screen_enabled = 'false'; } + if (strlen($call_screen_enabled) == 0) { $call_screen_enabled = 'false'; } //begin the page content require_once "resources/header.php"; @@ -1956,4 +1956,4 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { //include the footer require_once "resources/footer.php"; -?> +?> \ No newline at end of file