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:
parent
df0ca8b740
commit
5c8de33eb6
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user