summaryrefslogtreecommitdiff
path: root/inc/pageutils.php
diff options
context:
space:
mode:
authorMichael Hamann <michael@content-space.de>2012-08-24 14:31:13 +0200
committerMichael Hamann <michael@content-space.de>2012-08-24 16:50:07 +0200
commitc857afe0fad63243c0edb6067c1bb9678d552df0 (patch)
tree54cbc0d48af6acb9d49356f833c7b659cff91c7c /inc/pageutils.php
parent93b2e67758f1933a37de8ba366d22fc8c1dbcef5 (diff)
downloadrpg-c857afe0fad63243c0edb6067c1bb9678d552df0.tar.gz
rpg-c857afe0fad63243c0edb6067c1bb9678d552df0.tar.bz2
Allow the $check parameter of sectionID to be false
Diffstat (limited to 'inc/pageutils.php')
-rw-r--r--inc/pageutils.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/pageutils.php b/inc/pageutils.php
index d6abff894..55cc081a1 100644
--- a/inc/pageutils.php
+++ b/inc/pageutils.php
@@ -199,7 +199,8 @@ function noNSorNS($id) {
* Creates a XHTML valid linkid from a given headline title
*
* @param string $title The headline title
- * @param array $check Existing IDs (title => number)
+ * @param array|bool $check Existing IDs (title => number)
+ * @return string the title
* @author Andreas Gohr <andi@splitbrain.org>
*/
function sectionID($title,&$check) {