Permalink
Browse files

0.3.2: Fix error in entry list, blocked entry counter

  • Loading branch information...
onli committed Feb 10, 2019
1 parent 6d0a031 commit 6b0e5538c89cd02dac82f7e2c261ab57cf9512ce
Showing with 2 additions and 2 deletions.
  1. +2 −2 serendipity_event_vgwort/serendipity_event_vgwort.php
@@ -16,7 +16,7 @@ function introspect(&$propbag) {
$propbag->add('description', PLUGIN_EVENT_VGWORT_DESC);
$propbag->add('stackable', false);
$propbag->add('author', 'Malte Paskuda');
$propbag->add('version', '0.3.1');
$propbag->add('version', '0.3.2');
$propbag->add('requirements', array(
'serendipity' => '2.1'
));
@@ -229,7 +229,7 @@ function event_hook($event, &$bag, &$eventData, $addData = null) {
$eventData['info_more'] = '<section class="vgwort">
<span>Length: ' . $this->entryLength($eventData['id']) . '</span>';
if ($counter['counter_public']) {
if (is_array($counter) && $counter['counter_public']) {
$eventData['info_more'] .='<span>Zählmarke: ' . $counter['counter_public'] . '</span>
<span>Identifikationscode: ' . $counter['counter_private'] . '</span>';
}

0 comments on commit 6b0e553

Please sign in to comment.