Jump to content

[BUG 4.7.14] Missing type casting in the top pagination of allFollowers template


Go to solution Solved by teraßyte,

Recommended Posts

The template core > front > profile > allFollowers was updated in 4.7.14 to include type casting for the page value in the bottom pagination:

{template="pagination" group="global" app="core" location="global" params="$url, ceil( $followersCount / 50 ), (int) \IPS\Request::i()->page ?: 1, 50"}

 

However, the top pagination in the same template is still missing the (int) type casting:

{template="pagination" group="global" app="core" location="global" params="$url, ceil( $followersCount / 50 ), \IPS\Request::i()->page ?: 1, 50"}

 

Link to comment
Share on other sites

  • 1 month later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...