Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-11106

Undefined index: EDITED_TIME_TOTAL

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-dev
    • Fix Version/s: 3.1.0-a1
    • Labels:
      None

      Description

      [phpBB Debug] PHP Notice: in file [ROOT]/includes/ucp/ucp_pm_viewmessage.php on line 97: Undefined index: EDITED_TIME_TOTAL

        Issue Links

          Activity

          Hide
          bantu Andreas Fischer added a comment -

          Probably needs to be adjusted to what viewtopic uses:

          ./viewtopic.php: $l_edited_by = $user->lang('EDITED_TIMES_TOTAL', (int) $row['post_edit_count'], $display_username, $user->format_date($row['post_edit_time'], false, true));
          ./includes/ucp/ucp_pm_viewmessage.php: $l_edit_time_total = ($message_row['message_edit_count'] == 1) ? $user->lang['EDITED_TIME_TOTAL'] : $user->lang['EDITED_TIMES_TOTAL'];

          Show
          bantu Andreas Fischer added a comment - Probably needs to be adjusted to what viewtopic uses: ./viewtopic.php: $l_edited_by = $user->lang('EDITED_TIMES_TOTAL', (int) $row ['post_edit_count'] , $display_username, $user->format_date($row ['post_edit_time'] , false, true)); ./includes/ucp/ucp_pm_viewmessage.php: $l_edit_time_total = ($message_row ['message_edit_count'] == 1) ? $user->lang ['EDITED_TIME_TOTAL'] : $user->lang ['EDITED_TIMES_TOTAL'] ;
          Hide
          naderman Nils Adermann added a comment -

          Confirmed that this is not an issue on 3.0

          Show
          naderman Nils Adermann added a comment - Confirmed that this is not an issue on 3.0

            People

            • Assignee:
              naderman Nils Adermann
              Reporter:
              EXreaction EXreaction [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development