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

Argument missing for adm_back_link() in acp_captcha.php

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.9, 3.0.10-RC3
    • Fix Version/s: 3.0.11-RC1
    • Component/s: ACP
    • Labels:
      None

      Description

      The title really says it all.

      acp_captcha.php, line 99

      	trigger_error($user->lang['FORM_INVALID'] . adm_back_link(), E_USER_WARNING);
      

      adm_back_link() needs one parameter.

      Should be

      	trigger_error($user->lang['FORM_INVALID'] . adm_back_link($this->u_action), E_USER_WARNING);
      

        Activity

        Hide
        Oleg Oleg [X] (Inactive) added a comment -

        Inline patch in description.

        Show
        Oleg Oleg [X] (Inactive) added a comment - Inline patch in description.

          People

          • Assignee:
            Oleg Oleg [X] (Inactive)
            Reporter:
            tumba25 Jari Kanerva
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development