From c96172fa044d847fee237d966a6e75f8be5afa4d Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 25 Feb 2021 14:49:58 +0300 Subject: use constants in get_pref()/set_pref() --- include/controls_compat.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/controls_compat.php') diff --git a/include/controls_compat.php b/include/controls_compat.php index d62265471..a4e9ad73f 100644 --- a/include/controls_compat.php +++ b/include/controls_compat.php @@ -128,7 +128,7 @@ function print_feed_multi_select($id, $default_ids = [], } } - if (get_pref('ENABLE_FEED_CATS')) { + if (get_pref(Prefs::ENABLE_FEED_CATS)) { if (!$root_id) $root_id = null; -- cgit v1.2.3-54-g00ecf