summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-09-10 07:36:37 +0000
committerDries Buytaert <dries@buytaert.net>2006-09-10 07:36:37 +0000
commitdbc5646f8bea89a89f2e56f2f92505f5cb5d5694 (patch)
tree634f68265ed321682e18babd64f9c12d7de7a629
parent2607f6e698a1ec1b1a4dfbc4b3479581ed10c7ea (diff)
downloadbrdo-dbc5646f8bea89a89f2e56f2f92505f5cb5d5694.tar.gz
brdo-dbc5646f8bea89a89f2e56f2f92505f5cb5d5694.tar.bz2
- Patch #83316 by nickl: fixed FAPI bug.
-rw-r--r--modules/node/content_types.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/node/content_types.inc b/modules/node/content_types.inc
index fb4146007..b7ef459c1 100644
--- a/modules/node/content_types.inc
+++ b/modules/node/content_types.inc
@@ -247,7 +247,7 @@ function node_type_form_validate($form_id, $form_values) {
* Implementation of hook_form_submit().
*/
function node_type_form_submit($form_id, $form_values) {
- $op = isset($_POST['op']) ? $_POST['op'] : '';
+ $op = isset($form_values['op']) ? $form_values['op'] : '';
$type = new stdClass();