mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-26 07:21:28 +00:00
use constants in get_pref()/set_pref()
This commit is contained in:
@@ -349,7 +349,7 @@ class Article extends Handler_Protected {
|
||||
|
||||
$rv['can_inline'] = isset($_SESSION["uid"]) &&
|
||||
empty($_SESSION["bw_limit"]) &&
|
||||
!get_pref("STRIP_IMAGES") &&
|
||||
!get_pref(Prefs::STRIP_IMAGES) &&
|
||||
($always_display_enclosures || !preg_match("/<img/i", $article_content));
|
||||
|
||||
$rv['inline_text_only'] = $hide_images && $rv['can_inline'];
|
||||
|
||||
Reference in New Issue
Block a user