projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add compatibility with Dovecot's bigint UIDs
[squirrelmail.git]
/
src
/
view_header.php
diff --git
a/src/view_header.php
b/src/view_header.php
index 0e0b2e218901a711b90ab472364ab7017f44bbf9..aeebe577a342da08f6d20517fedd9f77b770ca75 100644
(file)
--- a/
src/view_header.php
+++ b/
src/view_header.php
@@
-83,9
+83,7
@@
function parse_viewheader($imapConnection,$id, $passed_ent_id) {
}
/* get global vars */
}
/* get global vars */
-if ( sqgetGlobalVar('passed_id', $temp, SQ_GET) ) {
- $passed_id = (int) $temp;
-}
+sqgetGlobalVar('passed_id', $passed_id, SQ_GET, NULL, SQ_TYPE_BIGINT);
if ( sqgetGlobalVar('mailbox', $temp, SQ_GET) ) {
$mailbox = $temp;
}
if ( sqgetGlobalVar('mailbox', $temp, SQ_GET) ) {
$mailbox = $temp;
}