mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-03-13 03:26:48 +01:00
Fix PHP8 warning (#7972)
This commit is contained in:
@@ -49,7 +49,7 @@ class identity_select extends rcube_plugin
|
||||
*/
|
||||
function select($p)
|
||||
{
|
||||
if ($p['selected'] !== null || !is_object($p['message']->headers)) {
|
||||
if ($p['selected'] !== null || empty($p['message']->headers)) {
|
||||
return $p;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user