Skip to content

Commit

Permalink
Make use of new $rollover_id param for MakeUserPhotoTipMessage()
Browse files Browse the repository at this point in the history
  • Loading branch information
francoisjacquet committed Apr 30, 2022
1 parent aa8d65a commit d219015
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion functions/GetStuList.fnc.php
Expand Up @@ -1469,7 +1469,9 @@ function makePhotoTipMessage( $full_name, $column )

if ( ! empty( $THIS_RET['STAFF_ID'] ) )
{
return MakeUserPhotoTipMessage( $THIS_RET['STAFF_ID'], $full_name );
$rollover_id = ( empty( $THIS_RET['ROLLOVER_ID'] ) ? 0 : $THIS_RET['ROLLOVER_ID'] );

return MakeUserPhotoTipMessage( $THIS_RET['STAFF_ID'], $full_name, $rollover_id );
}
elseif ( ! empty( $THIS_RET['STUDENT_ID'] ) )
{
Expand Down

0 comments on commit d219015

Please sign in to comment.