summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2014-05-02 14:38:32 +0100
committerGreg Roach <fisharebest@gmail.com>2014-05-02 14:38:32 +0100
commit00bfc89f5cfaddbf6dd77a9786176d5ccced4f03 (patch)
treec9aa2a706d70d6f1a261a9bff91d1b0450ffff47
parent3d5abe35e359ec0230dc7836e85cb302a6321e61 (diff)
downloadwebtrees-00bfc89f5cfaddbf6dd77a9786176d5ccced4f03.tar.gz
webtrees-00bfc89f5cfaddbf6dd77a9786176d5ccced4f03.tar.bz2
webtrees-00bfc89f5cfaddbf6dd77a9786176d5ccced4f03.zip
Erroneous space at start of inline notes
-rw-r--r--includes/functions/functions_print_facts.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/functions/functions_print_facts.php b/includes/functions/functions_print_facts.php
index d7dad56f6a..84312aae39 100644
--- a/includes/functions/functions_print_facts.php
+++ b/includes/functions/functions_print_facts.php
@@ -865,7 +865,7 @@ function print_main_notes(WT_Fact $fact, $level) {
$can_edit = $level==1 && $fact->canEdit();
}
- $ct = preg_match_all("/$level NOTE(.*)/", $factrec, $match, PREG_SET_ORDER);
+ $ct = preg_match_all("/$level NOTE (.*)/", $factrec, $match, PREG_SET_ORDER);
for ($j=0; $j<$ct; $j++) {
// Note object, or inline note?
if (preg_match("/$level NOTE @(.*)@/", $match[$j][0], $nmatch)) {