summaryrefslogtreecommitdiff
path: root/inc/actions.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2008-12-26 17:12:44 +0100
committerAndreas Gohr <andi@splitbrain.org>2008-12-26 17:12:44 +0100
commit443d207b937495af46f088d883836ad9094bccdd (patch)
tree6bc3a0a0cb411fcc269337f05d6fdbcefbe90736 /inc/actions.php
parent6df2a685ec14723d4413b8df7a95de5f183a873f (diff)
downloadrpg-443d207b937495af46f088d883836ad9094bccdd.tar.gz
rpg-443d207b937495af46f088d883836ad9094bccdd.tar.bz2
fixed PHP4 incompatibility in sectionID() FS#1553
darcs-hash:20081226161244-7ad00-8c843ea6a06a0d36fc322d109497239ab6ea229c.gz
Diffstat (limited to 'inc/actions.php')
-rw-r--r--inc/actions.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/actions.php b/inc/actions.php
index 0a347f472..bebdeefce 100644
--- a/inc/actions.php
+++ b/inc/actions.php
@@ -340,7 +340,8 @@ function act_redirect($id,$preact){
//get section name when coming from section edit
if($PRE && preg_match('/^\s*==+([^=\n]+)/',$TEXT,$match)){
- $title = sectionID($match[0]);
+ $check = false;
+ $title = sectionID($match[0],$check);
}
$opts = array(