From bceaf8f0daf1d76bb33afdef8ea231fbc855a5c2 Mon Sep 17 00:00:00 2001 From: Neil Drumm Date: Tue, 29 Aug 2006 09:12:03 +0000 Subject: #80574 Eaton and chx. Replace $_POST['edit'] with $_POST. --- modules/upload/upload.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/upload/upload.module') 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); -- cgit v1.2.3