Sunday, March 18, 2007, 8:05:38 PM, Hans wrote:

> just testing, and getting error:

> Warning: Missing argument 1 for hgBreadCrumb()

function hgBreadCrumb($group,$name) { ...

Looking at it neither $group nor $name are used inside the function.
Since they are not used, and no argument is provided when calling the
function, you might as well leave it empty:

function hgBreadCrumb() {...

or perhaps pass on the $pagename from the markup:

Markup('hgbreadcrumb', '>var', '/\\(:breadcrumb:\\)/e', 
"hgBreadCrumb($pagename)");
function hgBreadCrumb($pagename) { ....

you don't need the global $pagename.


Hans


_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to