MDL-11775 "Undefined constant 'data_submitted' ..." - it's a function! Merged.

This commit is contained in:
nfreear 2007-10-15 15:04:09 +00:00
parent 932e97ea6d
commit 292ad3bfc9

View File

@ -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;
}