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

acp_styles: store_templates() debug notice

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 3.0.6
    • 3.0.5
    • ACP
    • None
    • PHP Environment:
      Database:

      In acp_styles.php in function store_templates() script doesn't check if file is empty before trying to read it, which results in this notice if file is empty:

      [phpBB Debug] PHP Notice: in file /includes/acp/acp_styles.php on line 2538: fread() [function.fread]: Length parameter must be greater than 0

            bantu Andreas Fischer [X] (Inactive)
            cyberalien cyberalien
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: