1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 15:55:56 +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

@@ -64,8 +64,8 @@ class Af_RedditImgur extends Plugin {
}
function save() {
$enable_readability = checkbox_to_sql_bool($_POST["enable_readability"]) == "true";
$enable_content_dupcheck = checkbox_to_sql_bool($_POST["enable_content_dupcheck"]) == "true";
$enable_readability = checkbox_to_sql_bool($_POST["enable_readability"]);
$enable_content_dupcheck = checkbox_to_sql_bool($_POST["enable_content_dupcheck"]);
$this->host->set($this, "enable_readability", $enable_readability, false);
$this->host->set($this, "enable_content_dupcheck", $enable_content_dupcheck);