소스 검색

Minor intval fix

andryyy 8 년 전
부모
커밋
3fbbece857
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      data/web/inc/functions.inc.php

+ 1 - 1
data/web/inc/functions.inc.php

@@ -3599,7 +3599,7 @@ function mailbox_edit_mailbox($postarray) {
 		);
 		return false;
 	}
-	$quota_m      = $postarray['quota'];
+	$quota_m      = intval($postarray['quota']);
 	$quota_b      = $quota_m*1048576;
 	$username     = $postarray['username'];
 	$name         = $postarray['name'];