From 2f458c90056ed6286c42e19b26b66c42c76864e0 Mon Sep 17 00:00:00 2001 From: petko Date: Sat, 2 Aug 2014 16:17:02 +0000 Subject: Fix InputDefault to use the same values as PTVs (last found in page) git-svn-id: svn://pmwiki.org/pmwiki/trunk@2987 524c5546-5005-0410-9a3e-e25e191bd360 --- scripts/forms.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/forms.php b/scripts/forms.php index d0b30ada..4e7fb8a9 100644 --- a/scripts/forms.php +++ b/scripts/forms.php @@ -183,7 +183,7 @@ function InputDefault($pagename, $type, $args) { if (preg_match_all($pat, IsEnabled($PCache[$source]['=preview'], $page['text']), $match, PREG_SET_ORDER)) foreach($match as $m) - if (!isset($InputValues['ptv_'.$m[2]])) +# if (!isset($InputValues['ptv_'.$m[2]])) PITS:01337 $InputValues['ptv_'.$m[2]] = PHSC(Qualify($source, $m[3]), ENT_NOQUOTES); } -- cgit v1.2.3