mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
PHP8: fix error Undefined constant "status"
This commit is contained in:
parent
894ebe2f51
commit
3317cc735a
@ -949,11 +949,11 @@ class mail_sieve
|
|||||||
break;
|
break;
|
||||||
case 'enable':
|
case 'enable':
|
||||||
$msg = lang('rule with priority ') . $checked . lang(' enabled!');
|
$msg = lang('rule with priority ') . $checked . lang(' enabled!');
|
||||||
$this->rules[$checked][status] = 'ENABLED';
|
$this->rules[$checked]['status'] = 'ENABLED';
|
||||||
break;
|
break;
|
||||||
case 'disable':
|
case 'disable':
|
||||||
$msg = lang('rule with priority ') . $checked . lang(' disabled!');
|
$msg = lang('rule with priority ') . $checked . lang(' disabled!');
|
||||||
$this->rules[$checked][status] = 'DISABLED';
|
$this->rules[$checked]['status'] = 'DISABLED';
|
||||||
break;
|
break;
|
||||||
case 'move':
|
case 'move':
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user