Ticket/13161 PHP Warnings issued from phpbb database test case

https://tracker.phpbb.com/browse/PHPBB3-13161