From 2326bc479ee4b8ad3d11244b034f7c4c1d3650aa Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Sun, 24 May 2015 21:05:45 +0100 Subject: [PATCH] another fix in the page viewer --- modules/page-view.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/page-view.php b/modules/page-view.php index 11a0b00..8a4f221 100644 --- a/modules/page-view.php +++ b/modules/page-view.php @@ -1,7 +1,7 @@ "Page viewer", - "version" => "0.4", + "version" => "0.6", "author" => "Starbeamrainbowlabs", "description" => "Allows you to view pages. You should include this one.", "id" => "page-view", @@ -37,9 +37,9 @@ register_module([ $content .= "\n\t\n"; if(isset($_GET["printable"]) and $_GET["printable"] === "yes") - exit(page_renderer::render_minimal($title, $content, $minimal)); + exit(page_renderer::render_minimal($title, $content)); else - exit(page_renderer::render_main($title, $content, $minimal)); + exit(page_renderer::render_main($title, $content)); }); } ]);