intdiv -> (int)
This commit is contained in:
parent
8e3f90f6c0
commit
15ad0e3e09
|
@ -235,7 +235,7 @@ function EntriesView() {
|
||||||
$CurrentPage=0;
|
$CurrentPage=0;
|
||||||
break;
|
break;
|
||||||
case $Titles[Last]:
|
case $Titles[Last]:
|
||||||
$CurrentPage=intdiv((count($Entries)-1),$GBpagination);
|
$CurrentPage=(int)((count($Entries)-1)/$GBpagination);
|
||||||
break;
|
break;
|
||||||
case "$Titles[Previous]":
|
case "$Titles[Previous]":
|
||||||
$CurrentPage=$_SESSION['currentpage']-1;
|
$CurrentPage=$_SESSION['currentpage']-1;
|
||||||
|
|
Loading…
Reference in New Issue