1
0
mirror of https://github.com/freescout-helpdesk/freescout.git synced 2024-11-23 19:02:46 +01:00

Fix php 8 compatibility #1713

This commit is contained in:
Ahmet Bora 2022-02-07 12:03:32 +03:00
parent df0ca8b740
commit 5c8de33eb6

View File

@ -152,7 +152,7 @@ class Controller extends BaseController
}
}
public function postDelete($group = null, $key)
public function postDelete($group, $key)
{
if(!in_array($group, $this->manager->getConfig('exclude_groups')) && $this->manager->getConfig('delete_enabled')) {
Translation::where('group', $group)->where('key', $key)->delete();