From ee7b32f11a617fdcd89ba915014393d82858eed4 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Mon, 4 Nov 2024 22:04:23 -0500 Subject: [PATCH] [fix] disp_user_string() no longer generates a warning if no username given --- src/include/common.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/include/common.php b/src/include/common.php index 44e576b..de00df9 100644 --- a/src/include/common.php +++ b/src/include/common.php @@ -2607,6 +2607,10 @@ function disp_user_string($database, $owner_id, $link = TRUE) { } } + if ($user_data === FALSE) { + return FALSE; + } + if ($owner_id == $po_user['id']) { $str = $strings['users_my_folders']; } else {