XXS fixes, as in stable
[squirrelmail.git] / src / printer_friendly_bottom.php
index 2f0839d8a0ecbe5172f54ca89341d65bc24291b8..b0f91071c0bd0d53abfa3baa74f1e46a1ca9849b 100644 (file)
@@ -31,8 +31,7 @@ $key = $_COOKIE['key'];
 $username = $_SESSION['username'];
 $onetimepad = $_SESSION['onetimepad'];
 
-$passed_ent_id = $_GET['passed_ent_id'];
-$passed_id = $_GET['passed_id'];
+$passed_id = (int) $_GET['passed_id'];
 $mailbox = $_GET['mailbox'];
 /* end globals */