1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-19 15:01:33 +02:00

Merge remote-tracking branch 'Elsensee/ticket/7707' into develop-ascraeus

* Elsensee/ticket/7707:
  [ticket/7707] Fix undefined variable: perm_from
  [ticket/7707] Add comma to last entry of arrays
  [ticket/7707] Remove unnecessary variables
  [ticket/7707] Add get_username_string() once more
  [ticket/7707] Remove unnecessary variables
  [ticket/7707] Add get_username_string() where possible
This commit is contained in:
Joas Schilling
2014-04-05 09:54:14 +02:00
8 changed files with 12 additions and 28 deletions

View File

@@ -1579,8 +1579,8 @@ switch ($mode)
'S_CUSTOM_PROFILE' => (isset($cp_row['row']) && sizeof($cp_row['row'])) ? true : false,
'S_GROUP_LEADER' => $is_leader,
'U_VIEW_PROFILE' => append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=viewprofile&u=' . $user_id))
);
'U_VIEW_PROFILE' => get_username_string('profile', $user_id, $row['username']),
));
if (isset($cp_row['row']) && sizeof($cp_row['row']))
{