diff options
author | pmichaud <pmichaud@524c5546-5005-0410-9a3e-e25e191bd360> | 2006-09-30 19:10:06 +0000 |
---|---|---|
committer | pmichaud <pmichaud@524c5546-5005-0410-9a3e-e25e191bd360> | 2006-09-30 19:10:06 +0000 |
commit | 4725dd8cd826b9227bf35580b7e23fe77799f808 (patch) | |
tree | 399f24fb1cb871fe4c8a91e47487d63e3f2c9785 /scripts/blocklist.php | |
parent | d8a0115e5f6e2b32b5d211a07e888d2df58fa660 (diff) | |
download | pmwiki.svn-4725dd8cd826b9227bf35580b7e23fe77799f808.tar.bz2 |
Change CheckBlocklist to check $_POST['text'] instead of entire markup text.
git-svn-id: svn://pmwiki.org/pmwiki/trunk@1674 524c5546-5005-0410-9a3e-e25e191bd360
Diffstat (limited to 'scripts/blocklist.php')
-rw-r--r-- | scripts/blocklist.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/blocklist.php b/scripts/blocklist.php index 1a525d98..b39a6bd9 100644 --- a/scripts/blocklist.php +++ b/scripts/blocklist.php @@ -72,7 +72,7 @@ if ($EnableBlocklist >= 10) { ## "update a page cycle" array_unshift($EditFunctions, 'CheckBlocklist'); function CheckBlocklist($pagename, &$page, &$new) - { Blocklist($pagename, $new['text']); } + { Blocklist($pagename, $_POST['text']); } ## Blocklist is the function that does all of the work of |