Closed (fixed)
Project:
Drupal core
Version:
5.x-dev
Component:
upload.module
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Dec 2006 at 21:54 UTC
Updated:
19 Dec 2006 at 23:15 UTC
Jump to comment: Most recent file
Comments
Comment #1
ChrisKennedy commentedHere is the problem commit: http://cvs.drupal.org/viewcvs/drupal/drupal/modules/upload/upload.module...
And the parent issue: http://drupal.org/node/98391
The attached patch should fix the problem by creating variables that can then be passed by reference to file_check_directory().
Comment #2
RobRoy commentedGood catch. One minor thing. I'd throw a break and a comment above those two lines instead of the two inline comments like this:
// Create variables for the default 'files' and temp directories to be passed by reference.
Comment #3
ChrisKennedy commentedSounds good to me.
Comment #4
RobRoy commentedDeleted one trailing white-space after the comment. Looks RTBC.
Comment #5
neclimdulThe break makes it look like the first comment isn't attached to any code. -1
Code works though. Everything seems to be in order.
Comment #6
Steven commentedCommitted to HEAD. Thanks.
Comment #7
(not verified) commented