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 = '
' . api_get_person_name($user[2], $user[3]) . '
'; + $photo = '
' . api_get_person_name($user[2], $user[3]) . '
'; } else { $photo = '
' . api_get_person_name($user[2], $user[3]) . '
'; } $user_id = $user[0]; - $button = '' . Display::return_icon('view_more_stats.gif', get_lang('Info')) . ''; + $button = '' . Display::return_icon('view_more_stats.gif', get_lang('Info')) . ''; $button = ' - ' . get_lang('Courses') . ' + ' . get_lang('Courses') . '   '; $users[] = array($photo, $user[1], $user[2], $user[3], $user[4], $user[5], $button); }