MDL-8096 - fixed footer

This commit is contained in:
skodak 2007-01-25 00:17:06 +00:00
parent ad6226fba2
commit 25c09fc90c

View file

@ -192,7 +192,7 @@
$userform->display(); $userform->display();
/// and proper footer /// and proper footer
if ($user->id == -1) { if ($user->id == -1 or ($user->id != $USER->id)) {
admin_externalpage_print_footer($adminroot); admin_externalpage_print_footer($adminroot);
} else if (!empty($USER->newadminuser)) { } else if (!empty($USER->newadminuser)) {
print_footer('none'); print_footer('none');