diff options
author | Andrew Dolgov <[email protected]> | 2017-12-02 14:07:48 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2017-12-02 14:07:48 +0300 |
commit | da9ea57d1c1602899111df615639d9f013f7226f (patch) | |
tree | 7568296421390ad0343a3ccfcae8e283a10e1586 /plugins/af_zz_imgproxy | |
parent | 7ccb4e91ff45cab907b43de1cc36a3b0ab5a025d (diff) |
checkbox to sql bool related changes, some more boolean fixes
Diffstat (limited to 'plugins/af_zz_imgproxy')
-rw-r--r-- | plugins/af_zz_imgproxy/init.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/af_zz_imgproxy/init.php b/plugins/af_zz_imgproxy/init.php index 4cfca4180..a6f008324 100644 --- a/plugins/af_zz_imgproxy/init.php +++ b/plugins/af_zz_imgproxy/init.php @@ -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); |