mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:42 +01:00
Fix php 8 error:
- Unsupported operand types: string * int - Unknown named parameter $func
This commit is contained in:
parent
3aa90c3fd5
commit
3742a44321
@ -3262,7 +3262,7 @@ $filter['before']= date("d-M-Y", $cutoffdate2);
|
||||
$GLOBALS['egw']->preferences->add('mail', 'smime_pass_exp', $_POST['smime_pass_exp']);
|
||||
$GLOBALS['egw']->preferences->save_repository();
|
||||
}
|
||||
Api\Cache::setSession('mail', 'smime_passphrase', $smimePassphrase, $_POST['smime_pass_exp'] * 60);
|
||||
Api\Cache::setSession('mail', 'smime_passphrase', $smimePassphrase, (int)($_POST['smime_pass_exp']?:10) * 60);
|
||||
}
|
||||
$structure = $this->mail_bo->getStructure($uid, $partID, $mailbox, false);
|
||||
if (($smime = $structure->getMetadata('X-EGroupware-Smime')))
|
||||
|
@ -71,7 +71,7 @@ class notifications_push implements Json\PushBackend
|
||||
//error_log(__METHOD__."() already_send=$already_send, message=".array2string($message));
|
||||
if (is_array($message) && method_exists($response, $message['method']))
|
||||
{
|
||||
call_user_func_array(array($response, $message['method']), (array)$message['data']);
|
||||
call_user_func_array(array($response, $message['method']), array_values((array)$message['data']));
|
||||
}
|
||||
$already_send = $row['notify_id'];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user