diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-01-24 21:20:16 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-01-24 21:20:16 +0000 |
commit | 173f528f59e6a83bdda973ef63c55659e6b1323b (patch) | |
tree | 093703257868dffd08c74328468c868a87327931 /includes/file.inc | |
parent | cdc4ca816d175ab455f30024dbfd64069b537cf3 (diff) | |
download | brdo-173f528f59e6a83bdda973ef63c55659e6b1323b.tar.gz brdo-173f528f59e6a83bdda973ef63c55659e6b1323b.tar.bz2 |
- Modified patch #14170 by Neil: improved default workflow (default node type) configuration page.
Modified the patch to remove some redundant code, to translate strings, and to better use the menu system.
Diffstat (limited to 'includes/file.inc')
-rw-r--r-- | includes/file.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/file.inc b/includes/file.inc index 39aa16fb6..9b48cc136 100644 --- a/includes/file.inc +++ b/includes/file.inc @@ -133,7 +133,7 @@ function file_check_upload($source) { } } elseif ($_FILES["edit"]["name"][$source] && is_uploaded_file($_FILES["edit"]["tmp_name"][$source])) { - $file = new stdClass(); + $file = new StdClass(); $file->filename = trim(basename($_FILES["edit"]["name"][$source]), '.'); $file->filemime = $_FILES["edit"]["type"][$source]; $file->filepath = $_FILES["edit"]["tmp_name"][$source]; |