1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 13:35:56 +00:00

af_psql_trgm: fix warning

This commit is contained in:
Andrew Dolgov
2021-02-08 11:47:41 +03:00
parent d293cbd5a9
commit 9de26d44da

View File

@@ -238,7 +238,7 @@ class Af_Psql_Trgm extends Plugin {
function hook_prefs_save_feed($feed_id) {
$enabled_feeds = $this->get_stored_array("enabled_feeds");
$enable = checkbox_to_sql_bool($_POST["trgm_similarity_enabled"]);
$enable = checkbox_to_sql_bool($_POST["trgm_similarity_enabled"] ?? "");
$key = array_search($feed_id, $enabled_feeds);
if ($enable) {