Closed (fixed)
Project:
Pageroute
Version:
5.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
18 Mar 2008 at 18:33 UTC
Updated:
28 Nov 2008 at 11:11 UTC
for some reasons the var $next is empty
so when we pass the function: pageroute_create_path(&$page, $next);
near Line 321 and set the array $path
$path = array($page->route->path, $next);
we have an empty value at array Position [1] (2)
this will later implode the path to a URL/Path with .../%20%F2/...
in it. This can cause strange errors!
I changed the line at the top to:
isset($next) ? $path = array($page->route->path, $next): $path = array($page->route->path);
Comments
Comment #1
Tauran commentedPlease reopen if request persists.