diff --git a/admin/index.php b/admin/index.php
index <HASH>..<HASH> 100644
--- a/admin/index.php
+++ b/admin/index.php
@@ -71,7 +71,7 @@
                 $db->debug=false;
                 if (set_field("config", "value", "$version", "name", "version")) {
                     notify($strdatabasesuccess);
-                    print_continue("$CFG->wwwroot");
+                    print_continue("index.php");
                     die;
                 } else {
                     notify("Upgrade failed!  (Could not update version in config table)");
After upgrading version, stay on admin page rather than going to home
page, just in case there is more to do.