Hendrik post #126

Merged
11342374 merged 53 commits from hendrik-post into master 2017-01-25 16:20:49 +01:00
Showing only changes of commit f9f1e2bf17 - Show all commits

View File

@@ -71,7 +71,13 @@ function selectAllUserPosts($userID) {
`postID`,
`author`,
`title`,
`content`,
CASE LENGTH(`content`) >= 150
WHEN TRUE THEN
CONCAT(LEFT(`content`, 150), '...')
WHEN FALSE THEN
`content`
END
AS `content`,
`creationdate`
FROM
`post`