From: <var...@us...> - 2009-03-01 18:54:28
|
Revision: 6615 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6615&view=rev Author: vargenau Date: 2009-03-01 18:54:26 +0000 (Sun, 01 Mar 2009) Log Message: ----------- Test isset to avoid warning Modified Paths: -------------- trunk/lib/PageList.php Modified: trunk/lib/PageList.php =================================================================== --- trunk/lib/PageList.php 2009-03-01 18:46:58 UTC (rev 6614) +++ trunk/lib/PageList.php 2009-03-01 18:54:26 UTC (rev 6615) @@ -1352,7 +1352,9 @@ $pagename = $request->getArg('pagename'); $defargs = array_merge(array('id' => $this->id), $request->args); if (USE_PATH_INFO) unset($defargs['pagename']); - if ($defargs['action'] == 'browse') unset($defargs['action']); + if (isset($defargs['action']) and ($defargs['action'] == 'browse')) { + unset($defargs['action']); + } $prev = $defargs; $tokens = array(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |