intdiv -> (int)

This commit is contained in:
ivan 2017-09-29 21:15:02 +03:00
parent 8e3f90f6c0
commit 15ad0e3e09
1 changed files with 1 additions and 1 deletions

View File

@ -235,7 +235,7 @@ function EntriesView() {
$CurrentPage=0;
break;
case $Titles[Last]:
$CurrentPage=intdiv((count($Entries)-1),$GBpagination);
$CurrentPage=(int)((count($Entries)-1)/$GBpagination);
break;
case "$Titles[Previous]":
$CurrentPage=$_SESSION['currentpage']-1;