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
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 117

This 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.

AttachmentSize
textimage_autoinsert-5.x-1.1-support_textimage_dev-1.patch662 bytes

#1

Deciphered - February 9, 2009 - 00:56

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

danielb - February 9, 2009 - 02:06

OK thanks for all this deciphered.

#3

danielb - February 22, 2009 - 07:58
Status:needs review» patch (to be ported)

#4

danielb - February 22, 2009 - 08:05
Status:patch (to be ported)» fixed

#5

System Message - March 8, 2009 - 08:10
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.