diff --git a/serendipity_event_vgwort/ChangeLog b/serendipity_event_vgwort/ChangeLog index 5c77ca9f..f462e5be 100644 --- a/serendipity_event_vgwort/ChangeLog +++ b/serendipity_event_vgwort/ChangeLog @@ -1,3 +1,7 @@ +Version 0.4.3: +============== +- Do not add ; when storing private Zählmarken code + Version 0.4.2: ============== - Adapt "csv" parser for new zählmarken file diff --git a/serendipity_event_vgwort/serendipity_event_vgwort.php b/serendipity_event_vgwort/serendipity_event_vgwort.php index 4edbc72f..727fea8d 100644 --- a/serendipity_event_vgwort/serendipity_event_vgwort.php +++ b/serendipity_event_vgwort/serendipity_event_vgwort.php @@ -16,7 +16,7 @@ class serendipity_event_vgwort extends serendipity_event { $propbag->add('description', PLUGIN_EVENT_VGWORT_DESC); $propbag->add('stackable', false); $propbag->add('author', 'Malte Paskuda'); - $propbag->add('version', '0.4.2'); + $propbag->add('version', '0.4.3'); $propbag->add('requirements', array( 'serendipity' => '2.2.1' )); @@ -83,7 +83,7 @@ class serendipity_event_vgwort extends serendipity_event { if ($counterPublic[1]) { $publicCounters[] = $counterPublic[1]; } - preg_match('@;Privater Identifikationscode:;(.*);?@', $line, $counterPrivate); + preg_match('@;Privater Identifikationscode:;([^;]*);?@', $line, $counterPrivate); if ($counterPrivate) { $privateCounters[] = $counterPrivate[1]; }