Skip to content

Commit

Permalink
Fixes incorrect array key in WatchedUsers::list_getWatchedUserPosts()
Browse files Browse the repository at this point in the history
Signed-off-by: Jon Stovell <[email protected]>
  • Loading branch information
Sesquipedalian committed Dec 18, 2024
1 parent b89d3d9 commit 8868ba3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Actions/Moderation/WatchedUsers.php
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ public static function list_getWatchedUserPosts(int $start, int $items_per_page,

$row['body'] = Parser::transform(
string: $row['body'],
input_types: Parser::INPUT_BBC | Parser::INPUT_MARKDOWN | ((bool) $row['last_smileys'] ? Parser::INPUT_SMILEYS : 0),
input_types: Parser::INPUT_BBC | Parser::INPUT_MARKDOWN | ((bool) $row['smileys_enabled'] ? Parser::INPUT_SMILEYS : 0),
options: ['cache_id' => (int) $row['id_msg']],
);

Expand Down

0 comments on commit 8868ba3

Please sign in to comment.