From 0b36d151572e050b51d82e7429fee847ebb33e22 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Thu, 20 Nov 2014 06:03:22 -0500
Subject: [PATCH] Add method to display operation (uploading) progress in UI message

---
 plugins/identity_select/identity_select.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/plugins/identity_select/identity_select.php b/plugins/identity_select/identity_select.php
index 0048c4d..7973b5d 100644
--- a/plugins/identity_select/identity_select.php
+++ b/plugins/identity_select/identity_select.php
@@ -46,7 +46,7 @@
      */
     function select($p)
     {
-        if ($p['selected'] !== null) {
+        if ($p['selected'] !== null || !is_object($p['message']->headers)) {
             return $p;
         }
 

--
Gitblit v1.9.1