From: <nk...@us...> - 2012-04-25 23:31:05
|
Revision: 41114 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=41114&view=rev Author: nkoth Date: 2012-04-25 23:30:59 +0000 (Wed, 25 Apr 2012) Log Message: ----------- [bp/r41113][FIX] WHen requiredParents is not set, it should be all. Revision Links: -------------- http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=41113&view=rev Modified Paths: -------------- branches/9.x/lib/core/Search/Formatter/ValueFormatter/Categorylist.php Modified: branches/9.x/lib/core/Search/Formatter/ValueFormatter/Categorylist.php =================================================================== --- branches/9.x/lib/core/Search/Formatter/ValueFormatter/Categorylist.php 2012-04-25 23:29:24 UTC (rev 41113) +++ branches/9.x/lib/core/Search/Formatter/ValueFormatter/Categorylist.php 2012-04-25 23:30:59 UTC (rev 41114) @@ -14,12 +14,10 @@ function __construct($arguments) { - if (isset($arguments['requiredParents'])) { - if (!empty($arguments['requiredParents'])) { + if (!empty($arguments['requiredParents'])) { $this->requiredParents = explode(',', $arguments['requiredParents']); - } else { + } else { $this->requiredParents = 'all'; - } } if (isset($arguments['excludeParents'])) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |