Attached is a small patch to tweak TextImage's error handling when the site does not have GD enabled. Two changes:
- Change drupal_set_message() from the 'status' default to 'error', which reflects that the module does not function without the GD extension.
- Add a function_exists() before calling gd_info(), to prevent a PHP error.
| Comment | File | Size | Author |
|---|---|---|---|
| gd_test.patch | 1.4 KB | ChrisKennedy |
Comments
Comment #1
decipheredThe check for GD has now been moved into the .install file so this no longer applies.
Cheers,
Deciphered.