Closed (fixed)
Project:
Asset
Version:
5.x-2.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
27 Mar 2008 at 16:57 UTC
Updated:
19 Apr 2008 at 22:23 UTC
In asset.types.inc on line 283 of the -dev branch (I used 5--2, I assume that's where you're devving), there is an extra space in the function_exists() call to check for mime_content_type(). As a result, the if statement is firing back a false negative and mime_content_type() is being redeclared, which makes php quite unhappy. I guess this is only a problem for people with the Mimetype php extension in their php compilations (Maybe because mime_content_type() has been deprecated in favor of PECL? http://us2.php.net/manual/en/ref.mime-magic.php), but it fired back a very unhappy php error when I attempted to enable the module. This patch fixes the error.
| Comment | File | Size | Author |
|---|---|---|---|
| asset.types_.inc_.patch | 689 bytes | sdboyer |
Comments
Comment #1
zroger commentedComment #2
zroger commentedcommitted to dev
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.