Move code that verifies template and theme settings AFTER plugin hook that might...
[squirrelmail.git] / src / printer_friendly_bottom.php
index e0f338a971046eb45473fe75ecac53b3d317289f..fca2e7f2d611ee7b6e1794fc357b158cb847b8b1 100644 (file)
@@ -72,8 +72,8 @@ if ($ent_ar[0] != '') {
         $body .= '<hr />';
      }
   }
-  $hookResults = do_hook('message_body', $body);
-  $body = $hookResults[1];
+  /* Note that $body is passed to this hook (and modified) by reference as of 1.5.2 */
+  do_hook('message_body', $body);
 } else {
   $body = _("Message not printable");
 }