[ticket/13961] Fix compatibility issue with parent class

PHPBB3-13961
This commit is contained in:
Mate Bartus 2015-06-24 15:35:47 +02:00
parent a34a65afdc
commit 050de400d7

View file

@ -88,7 +88,7 @@ class ordered_service_collection extends service_collection
* @param string $service_id * @param string $service_id
* @param int $order * @param int $order
*/ */
public function add($service_id, $order) public function add($service_id, $order = 0)
{ {
if ($this->is_ordered) if ($this->is_ordered)
{ {