Skip to content

Commit a541ccc

Browse files
authored
Update wp_bbp_users.sql
1 parent 646b2f1 commit a541ccc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generate/inserts/wp_bbp_users.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ SELECT
44
p.post_author AS user_id,
55
IF (r.first_reply_date IS NULL || t.first_topic_date <= r.last_reply_date, t.first_topic_date, r.first_reply_date) AS first_posted,
66
IF (r.last_reply_date IS NULL || t.last_topic_date >= r.last_reply_date, t.last_topic_date, r.last_reply_date) AS last_posted,
7-
IF (u.last_active IS NULL, '0000-00-00 00:00:00', FROM_UNIXTIME(u.last_active, '%Y-%d-%m %H:%i:%s')) AS last_active,
7+
IF (u.last_active IS NULL, '0000-00-00 00:00:00', FROM_UNIXTIME(u.last_active, '%Y-%m-%d %H:%i:%s')) AS last_active,
88
IF (t.topic_count IS NULL, 0, t.topic_count) AS topic_count,
99
IF (r.reply_count IS NULL, 0, r.reply_count) AS reply_count
1010
FROM (SELECT DISTINCT post_author

0 commit comments

Comments
 (0)