aboutsummaryrefslogtreecommitdiff
path: root/scripts/blocklist.php
diff options
context:
space:
mode:
authorpmichaud <pmichaud@524c5546-5005-0410-9a3e-e25e191bd360>2006-09-30 19:10:06 +0000
committerpmichaud <pmichaud@524c5546-5005-0410-9a3e-e25e191bd360>2006-09-30 19:10:06 +0000
commit4725dd8cd826b9227bf35580b7e23fe77799f808 (patch)
tree399f24fb1cb871fe4c8a91e47487d63e3f2c9785 /scripts/blocklist.php
parentd8a0115e5f6e2b32b5d211a07e888d2df58fa660 (diff)
downloadpmwiki.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.php2
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