If you have more than one custom field and using the
moderated mode, the lines get split up when approving
the post. If you look at the db file the entries are:
line 1: new post including custom field 1
line 2: delimiter, custom field 2
line 3: delimiter, custom field 3
etc.
This only happens while approving a post. As long as
the entry is not approved (or not using the moderated
mode) teh entries are correct.
If I find the time to look at it (i'm very busy
presently) I will send a fix.
rgds.
Andy
Logged In: YES
user_id=1518920
Just had a look at it.
A "\n" is added in the custom field loop after each custom
field. This adds a new line after each custom field when
editing or approving a post.
FIX:
In section
// APPROVING of a post
line 959
$approvedPost .= $configFromINI['General']
['delimiter'].trim($gbentry[6 + $field])."\n";
should be
$approvedPost .= $configFromINI['General']
['delimiter'].trim($gbentry[6 + $field]);
(delete --- ."\n"; --- at the end
The same problem exists when editing a post.
line 1051
$editedPost .= $configFromINI['General']
['delimiter'].safeHTML($_POST['customField'.$field])."\n";
should be
$editedPost .= $configFromINI['General']
['delimiter'].safeHTML($_POST['customField'.$field]);
rgds.
Andy