summaryrefslogtreecommitdiff
path: root/modules/upload.module
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2005-09-02 02:11:41 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2005-09-02 02:11:41 +0000
commit69247d7aad8052482d3feac7041ccca702226b03 (patch)
tree680fd99df1f0810d8bb7442563081c0c3fc54ddd /modules/upload.module
parent436cd01b5f51d54e980503e993e950ddba7eca55 (diff)
downloadbrdo-69247d7aad8052482d3feac7041ccca702226b03.tar.gz
brdo-69247d7aad8052482d3feac7041ccca702226b03.tar.bz2
- #30128: Call by reference left-overs
Diffstat (limited to 'modules/upload.module')
-rw-r--r--modules/upload.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/upload.module b/modules/upload.module
index 335fd8dfc..d9f34d738 100644
--- a/modules/upload.module
+++ b/modules/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.