Version 4.7.23

This commit is contained in:
Neo committed 2025-12-19 16:21:27 -08:00
1 parent 7124a02564
commit 25ddeb65d6
1791 files changed
+76990 -44452

No files matched your search

+4
View File
@@ -284,6 +284,9 @@ class _Friendly extends \IPS\Http\Url\Internal
/* Remove pagination attributes */
$return = $return->setPage();
/* now remove any trailing / from the path */
$return = $return->setPath( rtrim( $return->data['path'], '/' ) );
/* Return */
return $return;
}
@@ -316,6 +319,7 @@ class _Friendly extends \IPS\Http\Url\Internal
*/
public function setPage( $param='page', $number=1 )
{
$number = (int) $number;
if ( $param === 'page' )
{
$potentialFurl = NULL;