summaryrefslogtreecommitdiff
path: root/modules/system/system.module
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/system/system.module
parentad0e8b5615f4585f78ccbe27912c2545875a77f1 (diff)
downloadbrdo-bceaf8f0daf1d76bb33afdef8ea231fbc855a5c2.tar.gz
brdo-bceaf8f0daf1d76bb33afdef8ea231fbc855a5c2.tar.bz2
#80574 Eaton and chx. Replace $_POST['edit'] with $_POST.
Diffstat (limited to 'modules/system/system.module')
-rw-r--r--modules/system/system.module14
1 files changed, 7 insertions, 7 deletions
diff --git a/modules/system/system.module b/modules/system/system.module
index b9dfe9b13..614e57cc7 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -1359,9 +1359,9 @@ function system_theme_settings($key = '') {
$filename = ($key) ? str_replace('/', '_', $key) . '_logo.' . $parts['extension'] : 'logo.' . $parts['extension'];
if ($file = file_save_upload('logo_upload', $filename, 1)) {
- $_POST['edit']['default_logo'] = 0;
- $_POST['edit']['logo_path'] = $file->filepath;
- $_POST['edit']['toggle_logo'] = 1;
+ $_POST['default_logo'] = 0;
+ $_POST['logo_path'] = $file->filepath;
+ $_POST['toggle_logo'] = 1;
}
}
else {
@@ -1375,9 +1375,9 @@ function system_theme_settings($key = '') {
$filename = ($key) ? str_replace('/', '_', $key) . '_favicon.' . $parts['extension'] : 'favicon.' . $parts['extension'];
if ($file = file_save_upload('favicon_upload', $filename, 1)) {
- $_POST['edit']['default_favicon'] = 0;
- $_POST['edit']['favicon_path'] = $file->filepath;
- $_POST['edit']['toggle_favicon'] = 1;
+ $_POST['default_favicon'] = 0;
+ $_POST['favicon_path'] = $file->filepath;
+ $_POST['toggle_favicon'] = 1;
}
}
@@ -1523,7 +1523,7 @@ function system_theme_settings($key = '') {
* offered to go back to the item that is being changed in case the user changes
* his/her mind.
*
- * You can check for the existence of $_POST['edit'][$name] (where $name
+ * You can check for the existence of $_POST[$name] (where $name
* is usually 'confirm') to check if the confirmation was successful or
* use the regular submit model.
*