X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fview_html.php;h=eac3cd90a589c976d8b162305febe3d0b90a4b36;hb=a798d8b2a36f3f7d30e58f350df31e31f9fefaf8;hp=c0d2932a02446e988f19b83c21a7b086e27b4cd7;hpb=ebd2391cb0c5e3049870f90fa8a8b28707e9571a;p=squirrelmail.git diff --git a/src/view_html.php b/src/view_html.php index c0d2932a..eac3cd90 100644 --- a/src/view_html.php +++ b/src/view_html.php @@ -10,7 +10,7 @@ * optional. User must be authenticated ($key in cookie. $username and * $onetimepad in session). * - * @copyright © 1999-2007 The SquirrelMail Project Team + * @copyright 1999-2010 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package squirrelmail @@ -34,9 +34,7 @@ sqgetGlobalVar('messages', $messages, SQ_SESSION); sqgetGlobalVar('mailbox', $mailbox, SQ_GET); sqgetGlobalVar('ent_id', $ent_id, SQ_GET); sqgetGlobalVar('passed_ent_id', $passed_ent_id, SQ_GET); -if (sqgetGlobalVar('passed_id', $temp, SQ_GET)) { - $passed_id = (int) $temp; -} +sqgetGlobalVar('passed_id', $passed_id, SQ_GET, NULL, SQ_TYPE_BIGINT); // TODO: add required var checks here.