Browse Source

! PostgreSQL's logic is a bit confusing at times...

Signed-off-by: Michael Eshom <[email protected]>
Michael Eshom 10 years ago
parent
commit
61eb7d3ba3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Sources/PersonalMessage.php

+ 1 - 1
Sources/PersonalMessage.php

@@ -130,7 +130,7 @@ function MessageMain()
 				LEFT JOIN {db_prefix}pm_labeled_messages AS pl ON (pl.id_label = l.id_label)
 				LEFT JOIN {db_prefix}pm_recipients AS pr ON (pr.id_pm = pl.id_pm)
 			WHERE l.id_member = {int:current_member}
-			GROUP BY l.id_label',
+			GROUP BY l.id_label, l.name',
 			array(
 				'current_member' => $user_info['id'],
 			)