summaryrefslogtreecommitdiff
path: root/modules/upload
diff options
context:
space:
mode:
authorNeil Drumm <drumm@3064.no-reply.drupal.org>2006-07-04 08:48:05 +0000
committerNeil Drumm <drumm@3064.no-reply.drupal.org>2006-07-04 08:48:05 +0000
commit8d70d932b18372d178e7234109b5c086e9faffa9 (patch)
tree0099ea4da902b3dfa4733c54f29009f6dc16b97e /modules/upload
parentb1869f61313ec8d756b6e03de6d26388730d1937 (diff)
downloadbrdo-8d70d932b18372d178e7234109b5c086e9faffa9.tar.gz
brdo-8d70d932b18372d178e7234109b5c086e9faffa9.tar.bz2
#71616 by keve, cleanup
Diffstat (limited to 'modules/upload')
-rw-r--r--modules/upload/upload.module1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/upload/upload.module b/modules/upload/upload.module
index c2e31c482..f7c6be556 100644
--- a/modules/upload/upload.module
+++ b/modules/upload/upload.module
@@ -403,6 +403,7 @@ function upload_nodeapi(&$node, $op, $teaser) {
switch ($op) {
case 'load':
+ $output = '';
if (variable_get("upload_$node->type", 1) == 1) {
$output['files'] = upload_load($node);
return $output;