diff --git a/plugin/ticket/src/report.php b/plugin/ticket/src/report.php index 359269ef88..c3c242195c 100644 --- a/plugin/ticket/src/report.php +++ b/plugin/ticket/src/report.php @@ -228,18 +228,20 @@ function get_user_data($from, $number_of_items, $column, $direction) $res = Database::query($sql); $users = array(); + $webPath = api_get_path(WEB_PATH); + $selfPath = api_get_self(); while ($user = Database::fetch_row($res)) { $image_path = UserManager::get_user_picture_path_by_id($user[0], 'web', false, true); $user_profile = UserManager::get_picture_user($user[0], $image_path['file'], 22, USER_IMAGE_SIZE_SMALL, ' width="22" height="22" '); if (!api_is_anonymous()) { - $photo = '