Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

message/lib.php MDL-20303 remove rogue semicolon in sql merged from HEAD

  • Loading branch information...
commit 2debdc6b3622caf49a2e3b04e6538c61349307eb 1 parent 0bcda53
danmarsden authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 message/lib.php
View
6 message/lib.php
@@ -49,7 +49,7 @@ function message_print_contacts() {
AND mc.blocked = 0
GROUP BY u.id, u.firstname, u.lastname, u.picture,
u.imagealt, u.lastaccess
- ORDER BY u.firstname ASC;";
+ ORDER BY u.firstname ASC";
if($rs = get_recordset_sql($contactsql)){
while($rd = rs_fetch_next_record($rs)){
@@ -79,7 +79,7 @@ function message_print_contacts() {
WHERE mc.id IS NULL AND m.useridto = {$USER->id}
GROUP BY u.id, u.firstname, u.lastname, u.picture,
u.imagealt, u.lastaccess
- ORDER BY u.firstname ASC;";
+ ORDER BY u.firstname ASC";
if($rs = get_recordset_sql($strangersql)){
while($rd= rs_fetch_next_record($rs)){
@@ -1088,4 +1088,4 @@ function message_move_userfrom_unread2read($userid) {
return true;
}
-?>
+?>
Please sign in to comment.
Something went wrong with that request. Please try again.