diff options
author | petko <petko@524c5546-5005-0410-9a3e-e25e191bd360> | 2014-08-02 16:17:02 +0000 |
---|---|---|
committer | petko <petko@524c5546-5005-0410-9a3e-e25e191bd360> | 2014-08-02 16:17:02 +0000 |
commit | 2f458c90056ed6286c42e19b26b66c42c76864e0 (patch) | |
tree | 164da9ed04e4b40c4772673b48798d4d0ce63a99 | |
parent | 78f655e5729209d73260b1c1562ec68fa1f5f351 (diff) | |
download | pmwiki.svn-2f458c90056ed6286c42e19b26b66c42c76864e0.tar.bz2 |
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
-rw-r--r-- | scripts/forms.php | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |