https://src.bluestatic.org
/
bugdar.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88eed56
)
Fix a $bugsys call and add $customfields to the template in showreport.php
author
Robert Sesek <rsesek@bluestatic.org>
Sat, 23 Aug 2008 14:29:37 +0000
(10:29 -0400)
committer
Robert Sesek <rsesek@bluestatic.org>
Sat, 23 Aug 2008 14:29:37 +0000
(10:29 -0400)
showreport.php
patch
|
blob
|
history
diff --git
a/showreport.php
b/showreport.php
index bdd11dcf7abc202c0faeffd4eee10b1851ec02ca..591e00ebded112f1ac0edf4eb36a775015360ca1 100644
(file)
--- a/
showreport.php
+++ b/
showreport.php
@@
-245,7
+245,7
@@
foreach ($words AS $word)
{
if (trim($word))
{
- $word = preg_quote($
bugsys
->unsanitize($word));
+ $word = preg_quote($
input
->unsanitize($word));
$hilight[] = $temp = trim(preg_replace('#[^0-9a-zA-Z_ ]#', '', $word));
}
}
@@
-357,7
+357,8
@@
$tpl->vars = array(
'comments' => $comments,
'select' => $select,
'vote' => $vote,
- 'favoritetext' => $favoritetext
+ 'favoritetext' => $favoritetext,
+ 'customfields' => $customfields
);
$tpl->evaluate()->flush();