diff options
author | Marc Alexander <admin@m-a-styles.de> | 2016-12-25 10:19:33 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2016-12-25 11:51:38 +0100 |
commit | 9e6207add3070a5d3a6b3c8f798ad54dd8fbf828 (patch) | |
tree | 3d5abe4f5e3c9b4cd9abaa40d08f49528ecf17c1 /phpBB/phpbb/db/migration/profilefield_base_migration.php | |
parent | 2d742beb9245fdc215b9d53b846b15d608bd99e4 (diff) | |
download | forums-9e6207add3070a5d3a6b3c8f798ad54dd8fbf828.tar forums-9e6207add3070a5d3a6b3c8f798ad54dd8fbf828.tar.gz forums-9e6207add3070a5d3a6b3c8f798ad54dd8fbf828.tar.bz2 forums-9e6207add3070a5d3a6b3c8f798ad54dd8fbf828.tar.xz forums-9e6207add3070a5d3a6b3c8f798ad54dd8fbf828.zip |
[ticket/14923] Make sure start for queries is always set in migrations
PHPBB3-14923
Diffstat (limited to 'phpBB/phpbb/db/migration/profilefield_base_migration.php')
-rw-r--r-- | phpBB/phpbb/db/migration/profilefield_base_migration.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/phpbb/db/migration/profilefield_base_migration.php b/phpBB/phpbb/db/migration/profilefield_base_migration.php index da1a38e2fa..b20ca874be 100644 --- a/phpBB/phpbb/db/migration/profilefield_base_migration.php +++ b/phpBB/phpbb/db/migration/profilefield_base_migration.php @@ -191,6 +191,7 @@ abstract class profilefield_base_migration extends container_aware_migration $insert_buffer = new \phpbb\db\sql_insert_buffer($this->db, $this->table_prefix . 'profile_fields_data'); $limit = 250; $converted_users = 0; + $start = $start ?: 0; $sql = 'SELECT user_id, ' . $this->user_column_name . ' FROM ' . $this->table_prefix . 'users |