From 92b7f1fe41234dd2b9e23f22c502141eda88bbda Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Wed, 26 Oct 2016 19:28:10 +0200 Subject: [PATCH] get boolean value of showSingleSearchHit with getBoolValue() --- op/op.Settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/op/op.Settings.php b/op/op.Settings.php index 7873ea292..a4f346ec5 100644 --- a/op/op.Settings.php +++ b/op/op.Settings.php @@ -72,7 +72,7 @@ if ($action == "saveSettings") $settings->_maxSizeForFullText = intval($_POST["maxSizeForFullText"]); $settings->_fullSearchEngine = $_POST["fullSearchEngine"]; $settings->_defaultSearchMethod = $_POST["defaultSearchMethod"]; - $settings->_showSingleSearchHit = $_POST["showSingleSearchHit"]; + $settings->_showSingleSearchHit = getBoolValue("showSingleSearchHit"); $settings->_enableClipboard = getBoolValue("enableClipboard"); $settings->_enableDropUpload = getBoolValue("enableDropUpload"); $settings->_enableFolderTree = getBoolValue("enableFolderTree");