Skip to content

Commit

Permalink
Fix for PHP deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
craigk5n committed Aug 31, 2024
1 parent 2214b37 commit 22e7e25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/user.php
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ function user_get_users ( $publicOnly=false ) {
"ORDER BY $order1 cal_login" );
if ( $res ) {
while ( $row = dbi_fetch_row ( $res ) ) {
if ( strlen ( $row[1] ) && strlen ( $row[2] ) )
if ( strlen($row[1] ?? '') && strlen($row[2] ?? '') )
$fullname = "$row[2] $row[1]";
else
$fullname = $row[0];
Expand Down

0 comments on commit 22e7e25

Please sign in to comment.