From f1e1429801e4539c628a7b8cb04fa6f7a3d39d70 Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Mon, 7 May 2018 02:20:46 -0600 Subject: [PATCH] output_conditional() output unconditionally in edit mode --- lib/themefunctions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/themefunctions.php b/lib/themefunctions.php index 29336c9..35d172c 100644 --- a/lib/themefunctions.php +++ b/lib/themefunctions.php @@ -303,7 +303,7 @@ function get_navigation($currentpage = null, $classPrefix = "", $liclass = "", $ * @param string $var */ function output_conditional($content, $var) { - if ($var == "") { + if ($var == "" && !isset($_GET['edit'])) { return; } echo str_replace("[[VAR]]", $var, $content);