Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
fix #3783
Browse files Browse the repository at this point in the history
  • Loading branch information
julienmathis committed Sep 17, 2015
1 parent 5534474 commit bcac4ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/include/options/oreon/generalOpt/DB-Func.php
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ function updateODSConfigData() {
`storage_type` = '".$ret["storage_type"]."' WHERE `id` = 1 LIMIT 1 ;";
$DBRESULT = $pearDBO->query($rq);

updateOption($pearDB, "index_data", isset($ret["insert_in_index_data"]) && $ret["insert_in_index_data"] != NULL ? "1": "0");
updateOption($pearDB, "index_data", isset($ret["insert_in_index_data"]) && $ret["insert_in_index_data"] ? "1": "0");
updateOption($pearDB, "centstorage", isset($ret["enable_centstorage"]) && $ret["enable_centstorage"] != NULL ? htmlentities($ret["enable_centstorage"], ENT_QUOTES, "UTF-8"): "0");
updateOption($pearDB, "centstorage_auto_drop", isset($ret['centstorage_auto_drop']) ? '1' : '0');
updateOption($pearDB, "centstorage_drop_file", isset($ret['centstorage_drop_file']) ? $pearDB->escape($ret['centstorage_drop_file']) : '');
Expand Down

0 comments on commit bcac4ed

Please sign in to comment.