Add support for textimage 5.x-2.x-dev.
Deciphered - February 9, 2009 - 00:53
| Project: | Textimage Autoinsert |
| Version: | 5.x-1.1 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Currently using Textimage Autoinsert with Textimage 5.x-1.x-dev throws the following error:
Fatal error: Cannot use object of type stdClass as array in /path/to/module/textimage_autoinsert.module on line 117This is due to a change I made in Teximage, which causes textimage_get_presets() to return an array of objects instead of an array or arrays.
Simple fix supplied in patch, will work with both old and new versions of textimage.
| Attachment | Size |
|---|---|
| textimage_autoinsert-5.x-1.1-support_textimage_dev-1.patch | 662 bytes |

#1
Btw, the reason I marked this as a feature request instead of a bug report is that it's technically not a bug report yet as it only effects development versions of Textimage, however it will become a bug report when Textimage 2.1 is release, which I'm hoping to do within the week.
#2
OK thanks for all this deciphered.
#3
#4
#5
Automatically closed -- issue fixed for 2 weeks with no activity.