X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=src%2Fview_text.php;h=517138115be24b0b5fe15fbd37be2d7b02183659;hp=dbdc16b89bf42173e1f73af12265f2f069845142;hb=8b213268c9e6df48ff7d7addb1b74557982efff9;hpb=ebd2391cb0c5e3049870f90fa8a8b28707e9571a diff --git a/src/view_text.php b/src/view_text.php index dbdc16b8..51713811 100644 --- a/src/view_text.php +++ b/src/view_text.php @@ -5,7 +5,7 @@ * * Used by attachment_common code. * - * @copyright © 1999-2007 The SquirrelMail Project Team + * @copyright 1999-2011 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package squirrelmail @@ -27,9 +27,7 @@ sqgetGlobalVar('mailbox', $mailbox, SQ_GET); sqgetGlobalVar('ent_id', $ent_id, SQ_GET); sqgetGlobalVar('passed_ent_id', $passed_ent_id, SQ_GET); sqgetGlobalVar('QUERY_STRING', $QUERY_STRING, SQ_SERVER); -if (sqgetGlobalVar('passed_id', $temp, SQ_GET)) { - $passed_id = (int) $temp; -} +sqgetGlobalVar('passed_id', $passed_id, SQ_GET, NULL, SQ_TYPE_BIGINT); $imapConnection = sqimap_login($username, false, $imapServerAddress, $imapPort, 0); $mbx_response = sqimap_mailbox_select($imapConnection, $mailbox);