--- biblio/biblio.pages.inc.orig	2008-11-19 12:40:10.000000000 +0100
+++ biblio/biblio.pages.inc	2008-11-19 12:40:15.000000000 +0100
@@ -790,7 +790,7 @@
   $output  = '<div class="biblio-inline">';
   $output .= theme('biblio_long', $node, $base, $style);
   $output .= '</div>';
-  print $output;
+  return $output;
 }
 
 function biblio_citekey_view() {
--- biblio/biblio.module.orig	2008-11-19 12:40:48.000000000 +0100
+++ biblio/biblio.module	2008-11-19 12:40:51.000000000 +0100
@@ -539,10 +539,10 @@
     'file' => 'biblio.pages.inc',
     'type' => MENU_CALLBACK
   );
-  $items["$base/viewinline/%node". arg(2)] = array(
+  $items["$base/viewinline/%node"] = array(
     'title' => '',
     'page callback' => 'biblio_view_inline',
-    'page arguments' => array(1),
+    'page arguments' => array(2),
     'access callback' => 'node_access',
     'access arguments' => array('view', 1),
     'file' => 'biblio.pages.inc',
