mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 17:56:34 +00:00
use constants in get_pref()/set_pref()
This commit is contained in:
@@ -95,7 +95,7 @@ class Sanitizer {
|
||||
}
|
||||
|
||||
if ($entry->hasAttribute('src') &&
|
||||
($owner && get_pref("STRIP_IMAGES", $owner)) || $force_remove_images || ($_SESSION["bw_limit"] ?? false)) {
|
||||
($owner && get_pref(Prefs::STRIP_IMAGES, $owner)) || $force_remove_images || ($_SESSION["bw_limit"] ?? false)) {
|
||||
|
||||
$p = $doc->createElement('p');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user