Skip to content

Commit 8868ba3

Browse files
Fixes incorrect array key in WatchedUsers::list_getWatchedUserPosts()
Signed-off-by: Jon Stovell <[email protected]>
1 parent b89d3d9 commit 8868ba3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Actions/Moderation/WatchedUsers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ public static function list_getWatchedUserPosts(int $start, int $items_per_page,
429429

430430
$row['body'] = Parser::transform(
431431
string: $row['body'],
432-
input_types: Parser::INPUT_BBC | Parser::INPUT_MARKDOWN | ((bool) $row['last_smileys'] ? Parser::INPUT_SMILEYS : 0),
432+
input_types: Parser::INPUT_BBC | Parser::INPUT_MARKDOWN | ((bool) $row['smileys_enabled'] ? Parser::INPUT_SMILEYS : 0),
433433
options: ['cache_id' => (int) $row['id_msg']],
434434
);
435435

0 commit comments

Comments
 (0)