diff options
Diffstat (limited to 'includes/functions/functions_print.php')
| -rw-r--r-- | includes/functions/functions_print.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/includes/functions/functions_print.php b/includes/functions/functions_print.php index d5d5ce60fd..c380a512d2 100644 --- a/includes/functions/functions_print.php +++ b/includes/functions/functions_print.php @@ -445,7 +445,6 @@ function print_fact_notes($factrec, $level, $textOnly=false) { $nlevel = $level+1; $ct = preg_match_all("/$level NOTE (.*)/", $factrec, $match, PREG_SET_ORDER); for ($j=0; $j<$ct; $j++) { - $nid = str_replace("@","",$match[$j][1]); $spos1 = strpos($factrec, $match[$j][0], $previous_spos); $spos2 = strpos($factrec."\n$level", "\n$level", $spos1+1); if (!$spos2) $spos2 = strlen($factrec); @@ -469,7 +468,7 @@ function print_fact_notes($factrec, $level, $textOnly=false) { } } } else { - $data='<div class="fact_NOTE"><span class="label">'.WT_I18N::translate('Note').'</span>: <span class="field error">'.$nid.'</span></div>'; + $data='<div class="fact_NOTE"><span class="label">'.WT_I18N::translate('Note').'</span>: <span class="field error">'.$nmatch[1].'</span></div>'; } } if (!$textOnly) { |
