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

Negative str_repeat() in path_helper possible?

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • 3.1.4
    • None
    • None

      Prevent php function "str_repeat" from going negative, which can happen on some installations.

      Common error:

      "path_helper.php on line 232: str_repeat() [function.str-repeat]: Second argument has to be greater than or equal to 0"

      Previous PR:
      https://github.com/phpbb/phpbb/pull/3503

            Marc Marc
            nickvergessen Joas Schilling
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: