? p0.patch
Index: author_pane.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/author_pane/author_pane.module,v
retrieving revision 1.1.2.16.2.18
diff -u -p -r1.1.2.16.2.18 author_pane.module
--- author_pane.module	4 Oct 2010 15:33:48 -0000	1.1.2.16.2.18
+++ author_pane.module	30 Nov 2010 23:55:56 -0000
@@ -193,8 +193,9 @@ function template_preprocess_author_pane
     $variables['joined_ago'] = format_interval(time() - $account->created);
 
     // Online status - uses the settings for the who's online block.
-    $variables['last_active'] = format_interval(time() - $account->access);
-
+    if ($account->access != "0") {
+      $variables['last_active'] = format_interval(time() - $account->access);
+    }
     if ((time()-$account->access) < variable_get('user_block_seconds_online', 900)) {
       $variables['online_status'] = t('Online');
       $variables['online_status_class'] = 'author-online';
@@ -344,4 +345,4 @@ function author_pane_run_preprocess($mod
   }
 
   return TRUE;
-}
\ No newline at end of file
+}
