I assume this is yet another PHP 5.x-related bug:

warning: array_merge() [function.array-merge]: Argument #1 is not an array in /Applications/MAMP/htdocs/drupal-4-7/modules/project/release/project_release.module on line 112.

The line in question seems to be:

    $form['#validate'] = array_merge($form['#validate'], array('project_release_settings_validate' => array()));

which looks fine to me?

CommentFileSizeAuthor
#2 project_release_settings_php5.patch.txt969 bytesdww
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dww’s picture

yup, php5 badness again. $form['#validate'] just isn't set in that case, most likely, and it's complaining. should be an easy fix.

dww’s picture

Assigned: Unassigned » dww
Status: Active » Needs review
FileSize
969 bytes

this works in php4. i assume it'll solve the problem in php5, but webchick, could you please verify?
thanks,
-derek

AjK’s picture

Status: Needs review » Reviewed & tested by the community

dww, sorry for the delay in review. Recreated the problem (in PHP5). Applied patch no problems. Fixes fault in PHP5, PHP4 continues to work as before.

dww’s picture

Status: Reviewed & tested by the community » Fixed

thanks for testing. committed to DRUPAL-4-7--2 branch as revision 1.1.2.41.

Anonymous’s picture

Status: Fixed » Closed (fixed)