Skip to content

Commit

Permalink
Fix error on new mail (message's headers object doesn't exist)
Browse files Browse the repository at this point in the history
  • Loading branch information
alecpl committed Aug 25, 2013
1 parent 9818493 commit 1305079
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/identity_select/identity_select.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function storage_init($p)
*/
function select($p)
{
if ($p['selected'] !== null) {
if ($p['selected'] !== null || !is_object($p['message']->headers)) {
return $p;
}

Expand Down

0 comments on commit 1305079

Please sign in to comment.