git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@8041
7612ce4b-ef26-0410-bec9-
ea0150e637f0
- Fixed $custom_css loading in squirrelspell plugin.
- Turkish translation uses C character case conversion rules. Fixes php and
squirrelmail functions are assume English conversion rules.
+ - Fixed problem that caused an error when deleting all messages on the last page
+ of a paginated view (provides fix for #1014612)
Version 1.5.0
--------------------
$aMailbox['EXISTS'] -= (int) $iExpungedMessages;
}
// Change the startMessage number if the mailbox was changed
- if (($aMailbox['PAGEOFFSET']+$iExpungedMessages-1) >= $aMailbox['EXISTS']) {
+ if (($aMailbox['PAGEOFFSET']-1) >= $aMailbox['EXISTS']) {
$aMailbox['PAGEOFFSET'] = ($aMailbox['PAGEOFFSET'] > $aMailbox['LIMIT']) ?
$aMailbox['PAGEOFFSET'] - $aMailbox['LIMIT'] : 1;
+ $aMailbox['OFFSET'] = $aMailbox['PAGEOFFSET'] - 1 ;
}
}
}