aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/db/migration/profilefield_base_migration.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2016-12-25 10:19:33 +0100
committerMarc Alexander <admin@m-a-styles.de>2016-12-25 11:51:38 +0100
commit9e6207add3070a5d3a6b3c8f798ad54dd8fbf828 (patch)
tree3d5abe4f5e3c9b4cd9abaa40d08f49528ecf17c1 /phpBB/phpbb/db/migration/profilefield_base_migration.php
parent2d742beb9245fdc215b9d53b846b15d608bd99e4 (diff)
downloadforums-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.php1
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