diff options
author | Andrew Dolgov <[email protected]> | 2017-12-05 11:59:44 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2017-12-05 11:59:44 +0300 |
commit | aac365d84212c1956719958e242ff724ec786e5d (patch) | |
tree | 68c456b5ad2b0ec2b7b7d159d4b0634159b56f54 | |
parent | 38c05709889a17493361160e0a424297e41cc072 (diff) |
use checkbox_to_sql_bool() properlypdo-experimental
-rwxr-xr-x | init.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -175,7 +175,7 @@ class Af_Zz_Img_Phash extends Plugin { $enabled_feeds = $this->host->get($this, "enabled_feeds"); if (!is_array($enabled_feeds)) $enabled_feeds = array(); - $enable = checkbox_to_sql_bool($_POST["phash_similarity_enabled"]) == 'true'; + $enable = checkbox_to_sql_bool($_POST["phash_similarity_enabled"]); $key = array_search($feed_id, $enabled_feeds); if ($enable) { |