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

event log: add pagination

This commit is contained in:
Andrew Dolgov
2021-02-06 10:10:54 +03:00
parent 9fdeb58fd3
commit 10392ecc28
4 changed files with 114 additions and 79 deletions

View File

@@ -54,7 +54,9 @@ class Sanitizer {
}
public static function sanitize($str, $force_remove_images = false, $owner = false, $site_url = false, $highlight_words = false, $article_id = false) {
if (!$owner) $owner = $_SESSION["uid"];
if (!$owner && isset($_SESSION["uid"]))
$owner = $_SESSION["uid"];
$res = trim($str); if (!$res) return '';