Dependency Graph
View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0008504 | mantisbt | bugtracker | public | 2007-10-23 16:52 | 2014-09-23 18:05 |
Reporter | hansen | Assigned To | dregad | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.1.0a4 | ||||
Target Version | 1.2.9 | Fixed in Version | 1.2.9 | ||
Summary | 0008504: Edit project settings form has default 'space' in foldername field | ||||
Description | on page: | ||||
Steps To Reproduce | edit configuration ofthe project without specific upload folder | ||||
Tags | No tags attached. | ||||
The checks for empty strings in file_add() should use is_blank() which trims the spaces. The default value should be an empty string rather than a space. |
|
Updated file api as per vboctor's comment. |
|
Marking as 'acknowledged' not resolved/closed to track that change gets ported to master-2.0.x branch |
|
MantisBT: master 46960e03 2011-10-17 20:14 Details Diff |
Fix 0008504: Use is_blank() not '' to check empty path in file_add() |
Affected Issues 0008504 |
|
mod - core/file_api.php | Diff File | ||
MantisBT: master-1.2.x ac8630bb 2011-10-17 20:14 Details Diff |
Fix 0008504: Use is_blank() not '' to check empty path in file_add() |
Affected Issues 0008504 |
|
mod - core/file_api.php | Diff File |