Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-7941

mistake in description of function generate_board_url

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 3.0.9-RC1
    • None
    • Other
    • None

      Hi,

      on the following page:

      http://area51.phpbb.com/docs/code/phpBB3/_includes---functions.php.html#functiongenerate_board_url

      function generate_board_url is described this way:

      void generate_board_url ([bool $without_script_path = false])

      But when you look at

      function generate_board_url($without_script_path = false)

      in functions.php, you see return $url;

      $url is a string, so correct would be:

      string generate_board_url ([bool $without_script_path = false])

      Thank you
      Wolfgang

      Please move this bug report to the correct place, if it would be better located somewhere in the documentation section of the bug tracker.

            Oleg Oleg [X] (Inactive)
            IPB_Refugee Wolfgang Weber [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: