From 39fa848f2378a05ec2c42472e733939bf7204772 Mon Sep 17 00:00:00 2001 From: vargenau Date: Thu, 18 Jul 2013 09:20:00 +0000 Subject: [PATCH] Add braces git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@8834 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- lib/PageList.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/PageList.php b/lib/PageList.php index c0c6412a1..06a1ff0f3 100644 --- a/lib/PageList.php +++ b/lib/PageList.php @@ -1099,8 +1099,12 @@ class PageList 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'; -- 2.42.0