diff options
author | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-08-29 09:12:03 +0000 |
---|---|---|
committer | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-08-29 09:12:03 +0000 |
commit | bceaf8f0daf1d76bb33afdef8ea231fbc855a5c2 (patch) | |
tree | cec3f6333255ce0632498c8594bd56c67a140726 /modules/upload/upload.module | |
parent | ad0e8b5615f4585f78ccbe27912c2545875a77f1 (diff) | |
download | brdo-bceaf8f0daf1d76bb33afdef8ea231fbc855a5c2.tar.gz brdo-bceaf8f0daf1d76bb33afdef8ea231fbc855a5c2.tar.bz2 |
#80574 Eaton and chx. Replace $_POST['edit'] with $_POST.
Diffstat (limited to 'modules/upload/upload.module')
-rw-r--r-- | modules/upload/upload.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/upload/upload.module b/modules/upload/upload.module index 084c2ed40..9db67c4a3 100644 --- a/modules/upload/upload.module +++ b/modules/upload/upload.module @@ -877,7 +877,7 @@ function _upload_image($file) { */ function upload_js() { // We only do the upload.module part of the node validation process. - $node = (object)$_POST['edit']; + $node = (object)$_POST; // Load existing node files. $node->files = upload_load($node); |