Closed (fixed)
Project:
Webform
Version:
6.x-3.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Sep 2010 at 05:36 UTC
Updated:
2 Oct 2010 at 05:50 UTC
This is a bug that affects Drupal 6 only. If you set up a file component with a path of "files/webform/sub1/sub2" and sub1 does not exist, you get an error that the directory sub2 could not be created. This is because in Drupal 6, directories are not created recursively. This patch adds a simple mkdir() that uses the recursive option. It also has the nice side-effect of silencing the message about a new directory being created.
| Comment | File | Size | Author |
|---|---|---|---|
| webform_file_subdirectories.patch | 1.05 KB | quicksketch |
Comments
Comment #1
quicksketchCommitted.