Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added isset check to tag parameter in blog/headlines

  • Loading branch information...
commit 4dcb12abfe85318c46ac24166edc61fe8105b044 1 parent abcd935
@jbroadway authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  apps/blog/handlers/headlines.php
View
2  apps/blog/handlers/headlines.php
@@ -12,7 +12,7 @@
require_once ('apps/blog/lib/Filters.php');
$p = new blog\Post;
-if ($data['tag'] !== '') {
+if (isset ($data['tag']) && $data['tag'] !== '') {
$posts = $p->tagged ($data['tag']);
} else {
$posts = $p->headlines ();
Please sign in to comment.
Something went wrong with that request. Please try again.