Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
kmkalam24 committed Jan 19, 2023
1 parent f976e8c commit 0d0472b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions theme/rui/print.php
Expand Up @@ -13,7 +13,7 @@
}
*/

$maxWidth = isset($_GET["paperWidth"]) ? $_GET["paperWidth"] ."px" : "100%";
$maxWidth = isset($_GET["paperWidth"]) ? safe_entities($_GET["paperWidth"]) ."px" : "100%";

?>

Expand Down Expand Up @@ -106,7 +106,7 @@
// Print the msg if exitst
if(isset($_GET["msg"])) {
echo "<div class='no-print'>
<div class='alert alert-success'>{$_GET['msg']}</div>
<div class='alert alert-success'>". safe_entities($_GET['msg']) ."</div>
</div>";
}

Expand Down

0 comments on commit 0d0472b

Please sign in to comment.