[Tickets #13044] Re: Turba minisearch block response is broken when contact is not found
noreply at bugs.horde.org
noreply at bugs.horde.org
Thu Mar 13 02:39:28 UTC 2014
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/13044
------------------------------------------------------------------------------
Ticket | 13044
Updated By | lfbm.andamentos at gmail.com <lfbm.andamentos at gmail.com>
Summary | Turba minisearch block response is broken when contact
| is not found
Queue | Turba
Version | Git master
Type | Bug
State | Unconfirmed
Priority | 2. Medium
Milestone |
Patch | 1
Owners |
------------------------------------------------------------------------------
lfbm.andamentos at gmail.com (2014-03-13 02:38) wrote:
If you type a contact in the minisearch field that is not found in
your address books, the minisearch() method will return an empty
variable instead of the expected $ob->html = _("No contacts found").
Seems like the code is missing a "!" before the is_null check in order
to populate the correct message into $ob->html in the last elseif block.
Working Patch is attached.
lfbm.andamentos at gmail.com (2014-03-13 02:38) uploaded:
0001-Fix-broken-minisearch-block-response-when-no-contact.patch
http://bugs.horde.org/h/services/download/?app=whups&actionID=download_file&file=0001-Fix-broken-minisearch-block-response-when-no-contact.patch&ticket=13044&fn=%2F0001-Fix-broken-minisearch-block-response-when-no-contact.patch
More information about the bugs
mailing list