summaryrefslogtreecommitdiff
path: root/modules/upload/upload.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/upload/upload.module')
-rw-r--r--modules/upload/upload.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/upload/upload.module b/modules/upload/upload.module
index 335fd8dfc..d9f34d738 100644
--- a/modules/upload/upload.module
+++ b/modules/upload/upload.module
@@ -464,7 +464,7 @@ function _upload_image($file) {
function upload_js() {
// We only do the upload.module part of the node validation process.
$node = array2object($_POST['edit']);
- upload_nodeapi(&$node, 'validate', NULL);
+ upload_nodeapi($node, 'validate', NULL);
$output = theme('status_messages') . _upload_form($node);
// We send the updated file attachments form.