diff --git a/src/modules/Custompages/Service.php b/src/modules/Custompages/Service.php index 290fb80c7..721a14359 100644 --- a/src/modules/Custompages/Service.php +++ b/src/modules/Custompages/Service.php @@ -143,7 +143,7 @@ class Service [$slug, $id] )->fetchOne(); if ($exists) { - throw new \FOSSBilling\Exception('You need to set unique slug.', 9999); + throw new \FOSSBilling\Exception('You need to set unique slug.', null, 9999); } $this->di['dbal']->executeStatement( 'UPDATE custom_pages SET title = ?, description = ?, keywords = ?, content = ?, slug = ? WHERE id = ?',