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

A typo in style_update_p1.php migration may prevent updating in some circumstances

    XMLWordPrintable

    Details

      Description

      In \phpbb\db\migration\data\v310\style_update_p1.php

      $sql = 'SELECT s.style_id, t.template_path, t.template_id, t.bbcode_bitfield, t.template_inherits_id, t.template_inherit_path, c.theme_path, c.theme_id
      				FROM ' . STYLES_TABLE . ' s, ' . $this->table_prefix . 'styles_template t, ' . $this->table_prefix . "stles_theme c
      				WHERE t.template_id = s.template_id
      					AND c.theme_id = s.theme_id";
      

      causes SQL error about non-existant table stles_theme.
      https://github.com/phpbb/phpbb/blob/develop/phpBB/phpbb/db/migration/data/v310/style_update_p1.php#L95

        Attachments

          Activity

            People

            Assignee:
            nicofuma nicofuma
            Reporter:
            rxu rxu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: