mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-28 11:39:21 +03:00
Resolve #295
This commit is contained in:
parent
050815dd7e
commit
d08998eb1c
1 changed files with 2 additions and 2 deletions
|
|
@ -313,10 +313,10 @@ abstract class SearchCriterias
|
|||
$sSize = \preg_replace('/[^0-9KM]/', '', \strtoupper($sSize));
|
||||
$iResult = \intval($sSize);
|
||||
switch (\substr($sSize, -1)) {
|
||||
case 'K':
|
||||
$iResult *= 1024;
|
||||
case 'M':
|
||||
$iResult *= 1024;
|
||||
case 'K':
|
||||
$iResult *= 1024;
|
||||
}
|
||||
return $iResult;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue