Summary | No icons are being displayed in chora due to bug in MIME_Viewer::getIcon |
Queue | Horde Framework Packages |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | |
Requester | eddie (at) omegaware (dot) com |
Created | 03/23/2004 (7723 days ago) |
Due | |
Updated | 03/24/2004 (7722 days ago) |
Assigned | |
Resolved | 03/24/2004 (7722 days ago) |
Milestone | |
Patch | No |
State ⇒ Resolved
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
icons, and nothing in the chora mime_drivers.php..
Vieweing of a .c file calls the appropriate mime viewer (enscript),
but in the directory view there are no icons for Chora.. I've tracked
down the problem to line 394 of MIME/Viewer.php where the _getIcon
function returns null because $mime_drivers['chora'] is not set..
Shouldn't the getIcon function also check for the 'horde' application
if 'chora' does not have any settings? It looks like code is in there
to do that, but it is not working due to $ob being set to null for the
compare in getIcon.