replace that line with this: show_hidden_input("user_id", $image_row['user_id']);
$sql = "SELECT ".get_user_table_field("", "user_name")."
FROM ".USERS_TABLE."
WHERE ".get_user_table_field("", "user_id")." = ".$image_row['user_id'];
$result = $site_db->query_firstrow($sql);
show_custom_row($lang['user'], $result['user_name']);