1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-27 11:41:28 +00:00

checkbox to sql bool related changes, some more boolean fixes

This commit is contained in:
Andrew Dolgov
2017-12-02 14:07:48 +03:00
parent 7ccb4e91ff
commit da9ea57d1c
6 changed files with 10 additions and 10 deletions

View File

@@ -241,8 +241,8 @@ class Af_Zz_ImgProxy extends Plugin {
}
function save() {
$proxy_all = checkbox_to_sql_bool($_POST["proxy_all"]) == "true";
$disable_cache = checkbox_to_sql_bool($_POST["disable_cache"]) == "true";
$proxy_all = checkbox_to_sql_bool($_POST["proxy_all"]);
$disable_cache = checkbox_to_sql_bool($_POST["disable_cache"]);
$this->host->set($this, "proxy_all", $proxy_all, false);
$this->host->set($this, "disable_cache", $disable_cache);