updating error_box() function calls. second argument was modified.
[squirrelmail.git] / src / printer_friendly_main.php
index fa6de8f44d51cd8c9a303cc5ac6716c2cc630ea2..45050fabdd89b5f2b8200f242afb6fea17763e2a 100644 (file)
@@ -20,7 +20,7 @@ if ( ! sqgetGlobalVar('passed_ent_id',$passed_ent_id,SQ_GET))
     $passed_ent_id = 0;
 if ( ! sqgetGlobalVar('mailbox',$mailbox,SQ_GET) ||
      ! sqgetGlobalVar('passed_id',$passed_id,SQ_GET)) {
-    error_box(_("Invalid URL"),$color);
+    error_box(_("Invalid URL"));
 } else {
     $passed_id= (int) $passed_id;
     $view_unsafe_images = (bool) $_GET['view_unsafe_images'];