summaryrefslogtreecommitdiff
path: root/modules/upload
diff options
context:
space:
mode:
authorNeil Drumm <drumm@3064.no-reply.drupal.org>2006-08-29 09:12:03 +0000
committerNeil Drumm <drumm@3064.no-reply.drupal.org>2006-08-29 09:12:03 +0000
commitbceaf8f0daf1d76bb33afdef8ea231fbc855a5c2 (patch)
treecec3f6333255ce0632498c8594bd56c67a140726 /modules/upload
parentad0e8b5615f4585f78ccbe27912c2545875a77f1 (diff)
downloadbrdo-bceaf8f0daf1d76bb33afdef8ea231fbc855a5c2.tar.gz
brdo-bceaf8f0daf1d76bb33afdef8ea231fbc855a5c2.tar.bz2
#80574 Eaton and chx. Replace $_POST['edit'] with $_POST.
Diffstat (limited to 'modules/upload')
-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 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);