Breaks php script (5.2.0): Using $area for both object and string

keve - December 11, 2006 - 16:37
Project:Filemanager
Version:4.6.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

Affecting all versions.

Patch for 4.6.

Symptom: When submitting a node w/ attachements, module breaks php script without adding attachment to the node, and displays blank page. (on php 5.2.0 at least).

In filemanager_get_area_info($area):
Using same name for variable ($area) for both output object and input string.

AttachmentSize
filemanager_3.patch578 bytes

#1

drewish - December 11, 2006 - 17:16
Status:needs review» fixed

thanks, this has been applied to the 4.6 branch. a new package will be built automagically sometime in the next 8 hours.

#2

Anonymous - December 25, 2006 - 17:31
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.