diff options
Diffstat (limited to 'platform/www/lib/plugins/blog/helper.php')
-rw-r--r-- | platform/www/lib/plugins/blog/helper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/www/lib/plugins/blog/helper.php b/platform/www/lib/plugins/blog/helper.php index 9dd8b9a..f29dc7b 100644 --- a/platform/www/lib/plugins/blog/helper.php +++ b/platform/www/lib/plugins/blog/helper.php @@ -70,7 +70,7 @@ class helper_plugin_blog extends DokuWiki_Plugin { // skip drafts unless for users with create priviledge $meta = p_get_metadata($id, '', false); - $draft = ($meta['type'] == 'draft'); + $draft = isset($meta['type']) && ($meta['type'] == 'draft'); if ($draft && ($perm < AUTH_CREATE)) continue; // filter by author |