From df24fe43ed05cf91710194f69139b2195348392b Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Tue, 30 Nov 2010 10:14:13 +0100 Subject: [PATCH] fixed tag export in lists (CSV) --- inc/functions.php | 2 ++ index.php | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/inc/functions.php b/inc/functions.php index e974729..bbae270 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -519,6 +519,8 @@ function get_fields_from_template($tpl){ $return[] = $FIELDS[$f]; }elseif($FIELDS["_$f"]){ $return[] = $FIELDS["_$f"]; + }elseif($f = 'markers'){ + $return[] = 'marker'; } } return $return; diff --git a/index.php b/index.php index 17240ac..2e13d65 100644 --- a/index.php +++ b/index.php @@ -144,13 +144,13 @@ $words=preg_split('/\s+/',$search); $filter=''; foreach($words as $word){ - $wordfilter=''; + $wordfilter=''; foreach($conf['searchfields'] as $field) { $wordfilter .= '('.$field.'=*'.$word.'*)'; - } + } for($i=0; $i