Not sure if this should be treated as a code or documentation bug. When saving file handling settings with beta-4, apache croaks with:

PHP Fatal error: Call to undefined function array_fill_keys() in /var/www/drupal/sites/all/modules/swftools/includes/swftools.admin.inc

FYI - RHEL's repositories provide php 5.1

Comments

Stuart Greenfield’s picture

Status: Active » Needs review

Sorry about that! Didn't spot that this function is only available in PHP >= 5.2

I've rewritten that section to use a loop that will work in all versions of PHP.

japanitrat’s picture

so it's in the dev?

Stuart Greenfield’s picture

Yes - in the dev package.

naero’s picture

Where? I don't see this.

ADDENDUM: Found it here http://drupal.org/node/581470#comment-2966890