From: <var...@us...> - 2013-07-18 09:20:03
|
Revision: 8834 http://sourceforge.net/p/phpwiki/code/8834 Author: vargenau Date: 2013-07-18 09:20:00 +0000 (Thu, 18 Jul 2013) Log Message: ----------- Add braces Modified Paths: -------------- trunk/lib/PageList.php Modified: trunk/lib/PageList.php =================================================================== --- trunk/lib/PageList.php 2013-07-18 09:19:23 UTC (rev 8833) +++ trunk/lib/PageList.php 2013-07-18 09:20:00 UTC (rev 8834) @@ -1099,8 +1099,12 @@ function explodePageList($input, $include_empty = false, $sortby = '', $limit = '', $exclude = '') { - if (empty($input)) return array(); - if (is_array($input)) return $input; + if (empty($input)) { + return array(); + } + if (is_array($input)) { + return $input; + } // expand wildcards from list of all pages if (preg_match('/[\?\*]/', $input) or substr($input, 0, 1) == "^") { include_once 'lib/TextSearchQuery.php'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |