summaryrefslogtreecommitdiff
path: root/includes/file.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-01-24 21:20:16 +0000
committerDries Buytaert <dries@buytaert.net>2005-01-24 21:20:16 +0000
commit173f528f59e6a83bdda973ef63c55659e6b1323b (patch)
tree093703257868dffd08c74328468c868a87327931 /includes/file.inc
parentcdc4ca816d175ab455f30024dbfd64069b537cf3 (diff)
downloadbrdo-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.inc2
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];