Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, Ed, biapar, Willr, Ingo, swaiba

Bug in SVN


Go to End


1081 Views

Avatar
Gene

Community Member, 41 Posts

14 May 2009 at 5:48am

Line 70 of FileDataObjectManager.php is

if(property_exists("allowed_file_types", $SNG))

and should be

if(property_exists($SNG, "allowed_file_types"))

(the params are backwards)

Thanks for the great module!