|
@@ -2667,7 +2667,7 @@ function display()
|
|
|
|
|
|
|
|
if ($allowcustompages === true)
|
|
if ($allowcustompages === true)
|
|
|
{
|
|
{
|
|
|
- $pg = trim(getparam('pg', true));
|
|
|
|
|
|
|
+ $pg = urlencode(trim(getparam('pg', true)));
|
|
|
if ($pagesonly === true)
|
|
if ($pagesonly === true)
|
|
|
{
|
|
{
|
|
|
if ($pg !== null && $pg !== '')
|
|
if ($pg !== null && $pg !== '')
|