intdiv -> (int)
This commit is contained in:
1 parent
8e3f90f6c0
commit
15ad0e3e09
1 file changed
+1
-1
@@ -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;
|
||||||
|
|||||||
Reference in new issue
Block a user