phpBB

Code Changes

File: phpbb/db/migration/data/v310/teampage.php

  Unmodified   Added   Modified   Removed
Line 93Line 93
				$teampage_entries[] = array(
'group_id' => (int) $row['group_id'],
'teampage_name' => '',

				$teampage_entries[] = array(
'group_id' => (int) $row['group_id'],
'teampage_name' => '',

					'teampage_position'	=> sizeof($teampage_entries) + 1,

					'teampage_position'	=> count($teampage_entries) + 1,

					'teampage_parent'	=> 0,
);
}
$this->db->sql_freeresult($result);


					'teampage_parent'	=> 0,
);
}
$this->db->sql_freeresult($result);


			if (sizeof($teampage_entries))

			if (count($teampage_entries))

			{
$this->db->sql_multi_insert(TEAMPAGE_TABLE, $teampage_entries);
}

			{
$this->db->sql_multi_insert(TEAMPAGE_TABLE, $teampage_entries);
}