Skip to content
This repository has been archived by the owner on Jul 5, 2018. It is now read-only.

Commit

Permalink
Fix Student Name suffix in GetCurrentMessagingUser()
Browse files Browse the repository at this point in the history
  • Loading branch information
francoisjacquet committed Mar 3, 2016
1 parent 6aab3e6 commit 022c85d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Messaging/includes/Common.fnc.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function GetCurrentMessagingUser()
if ( $key === 'student_id' )
{
$name_RET = DBGet( DBQuery(
"SELECT FIRST_NAME||' '||LAST_NAME||coalesce(' '||NAME_SUFFIX,'') AS NAME
"SELECT FIRST_NAME||' '||LAST_NAME||coalesce(' '||NAME_SUFFIX,' ') AS NAME
FROM STUDENTS
WHERE STUDENT_ID='" . $user_id . "'" ) );
}
Expand Down

0 comments on commit 022c85d

Please sign in to comment.