From: nfreear Date: Mon, 15 Oct 2007 15:04:09 +0000 (+0000) Subject: MDL-11775 "Undefined constant 'data_submitted' ..." - it's a function! Merged. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=292ad3bfc9e6b48a9e76b8f40dd47c4baf228739;p=moodle.git MDL-11775 "Undefined constant 'data_submitted' ..." - it's a function! Merged. --- diff --git a/tag/manage.php b/tag/manage.php index 417b24dfc7..edeebf5bf9 100644 --- a/tag/manage.php +++ b/tag/manage.php @@ -46,7 +46,7 @@ $existing_tagtypes['default'] = get_string('tagtype_default', 'tag'); switch($action) { case 'delete': - if (!data_submitted or !confirm_sesskey()) { + if (!data_submitted() or !confirm_sesskey()) { break; } $str_tagschecked = tag_name_from_string(implode($tagschecked, ',')); @@ -58,7 +58,7 @@ switch($action) { break; case 'reset': - if (!data_submitted or !confirm_sesskey()) { + if (!data_submitted() or !confirm_sesskey()) { break; } $str_tagschecked = tag_name_from_string(implode($tagschecked, ',')); @@ -70,7 +70,7 @@ switch($action) { break; case 'changetype': - if (!data_submitted or !confirm_sesskey()) { + if (!data_submitted() or !confirm_sesskey()) { break; } @@ -99,7 +99,7 @@ switch($action) { break; case 'changename': - if (!data_submitted or !confirm_sesskey()) { + if (!data_submitted() or !confirm_sesskey()) { break; }