Tuesday, February 17, 2009, 9:22:59 AM, Hans wrote: > if ($ttext=='') Abort("Unable to retrieve pagelist template $template");
better: if (!$ttext) Abort("Unable to retrieve pagelist template $template"); But I don't like PmWiki going to Abort if the pagelist fails. You are locked out of viewing the page. You need to manually add the pageanme plus ?action=edit into the url bar in order to start sorting the problem. As a developer I prefer a dirty echo "Unable to retrieve pagelist template $template"; Hans _______________________________________________ pmwiki-devel mailing list pmwiki-devel@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-devel