Skip to content

Commit

Permalink
Fix:SQL] Prevent insertion of empty preferred given name in auto feed
Browse files Browse the repository at this point in the history
  • Loading branch information
lavalleeale committed Jan 22, 2025
1 parent f354466 commit e4ebc27
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 @@ -47,7 +47,7 @@ class sql {
user_numeric_id,
user_givenname,
user_familyname,
user_preferred_givenname,
NULLIF(user_preferred_givenname, ''),
user_email
) VALUES ($1, $2, $3, $4, $5, $6)
ON CONFLICT (user_id) DO UPDATE
Expand Down

0 comments on commit e4ebc27

Please sign in to comment.