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

SQLite3 bug in profilefield_base_migration.php

    Details

      Description

      Using profilefield_base_migration.php to create a custom profile field with SQlite3 DBMS returns warning:

      [phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/sqlite3.php on line 218: SQLite3Result::fetchArray(): Unable to execute statement: constraint failed

      This is due passing filed_id and lang_id to the DB driver in unspecified format. As they are always int we should cast them in int to prevent the error message appearance.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            bantu Andreas Fischer
            Reporter:
            Lucifer4o Lucifer4o [X] (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development