Skip to content

Commit

Permalink
[Fix:SQL] Prevent empty string values in user preferred given name du…
Browse files Browse the repository at this point in the history
…ring auto feed
  • Loading branch information
lavalleeale committed Jan 21, 2025
1 parent f283997 commit bbb5eae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion student_auto_feed/ssaf_sql.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class sql {
CASE WHEN users.user_updated=FALSE
AND users.instructor_updated=FALSE
AND COALESCE(users.user_preferred_givenname, '')=''
THEN EXCLUDED.user_preferred_givenname
THEN NULLIF(EXCLUDED.user_preferred_givenname, '')
ELSE users.user_preferred_givenname
END,
user_email=
Expand Down

0 comments on commit bbb5eae

Please sign in to comment.