get boolean value of showSingleSearchHit with getBoolValue()

This commit is contained in:
Uwe Steinmann 2016-10-26 19:28:10 +02:00
parent bfd02591c8
commit 92b7f1fe41

View File

@ -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");