From: Andreas Gohr Date: Tue, 30 Nov 2010 09:14:13 +0000 (+0100) Subject: fixed tag export in lists (CSV) X-Git-Tag: 0.8.0~14 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=df24fe43ed05cf91710194f69139b2195348392b;p=contagged fixed tag export in lists (CSV) --- 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