Fixed Capitalisation error in XenForo_Image_ImageMagick_Pecl

Jon W

Well-known member
In library/XenForo/Image/ImageMagick/Pecl.php, you need to replace:
PHP:
class XenForo_Image_Imagemagick_Pecl extends XenForo_Image_Abstract
with:
PHP:
class XenForo_Image_ImageMagick_Pecl extends XenForo_Image_Abstract

This appears to be causing problems with add-ons that try to extend this class since that was made possible in XenForo 1.2 (and also when using a similar workaround in XenForo 1.1 to extend it).
 
Fixed. It's lucky that class even autoloads properly (due to us using the correct case in the directory name and when calling it).
 
That worked fine for me:

class AutoRotate_Image_Imagemagick_Pecl extends XFCP_AutoRotate_Image_Imagemagick_Pecl

:) Time to update the addon for the next xenforo release.
 
Back
Top Bottom