]> git.mjollnir.org Git - moodle.git/commitdiff
message/lib.php MDL-20303 remove rogue semicolon in sql
authordanmarsden <danmarsden>
Wed, 16 Sep 2009 22:28:44 +0000 (22:28 +0000)
committerdanmarsden <danmarsden>
Wed, 16 Sep 2009 22:28:44 +0000 (22:28 +0000)
message/lib.php

index 1e23bd3abf42e048099e629f177d1c76cc8b0879..f8a6d7f17ff84d4bd1519153b0657727766b5a59 100644 (file)
@@ -47,7 +47,7 @@ function message_print_contacts() {
                     WHERE mc.userid = ? 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 = $DB->get_recordset_sql($contactsql, array($USER->id, $USER->id))){
         foreach($rs as $rd){
@@ -74,7 +74,7 @@ function message_print_contacts() {
                      WHERE mc.id IS NULL AND m.useridto = ? 
                   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 = $DB->get_recordset_sql($strangersql, array($USER->id))){
         foreach($rs as $rd){
@@ -1135,4 +1135,4 @@ function message_get_popup_messages($destuserid, $fromuserid=NULL){
     return $messages;
 }
 
-?>
+?>
\ No newline at end of file