Fixed query for image tags
This commit is contained in:
@@ -108,7 +108,7 @@ function selectAllUserPosts($userID) {
|
||||
`postID`,
|
||||
`author`,
|
||||
`title`,
|
||||
CASE LENGTH(`content`) >= 150
|
||||
CASE LENGTH(`content`) >= 150 AND `content` NOT LIKE '<img%'
|
||||
WHEN TRUE THEN
|
||||
CONCAT(LEFT(`content`, 150), '...')
|
||||
WHEN FALSE THEN
|
||||
|
||||
Reference in New Issue
Block a user