Index: checkout.module
===================================================================
--- checkout.module	(revision 2823)
+++ checkout.module	(working copy)
@@ -53,9 +53,6 @@
       'type' => MENU_LOCAL_TASK);
   }
   else {
-    if ($user->uid && $user_access) {
-      checkout_handle_request($user->uid);
-    }
 
     if (arg(0) == 'admin' && is_numeric(arg(5))) {
       $items[] = array('path' => 'admin/content/node/checkout/release',
@@ -87,6 +84,17 @@
 }
 
 /**
+ * Implementation of hook_footer()
+ */
+function checkout_footer($main = 0) {
+	global $user;
+	$user_access = user_access('check out documents');
+	if ($user->uid && $user_access) {
+		checkout_handle_request($user->uid);
+	}
+}
+
+/**
  * Implementation of hook_form_alter().
  */
 function checkout_form_alter($form_id, &$form) {
