Skip to content

Commit

Permalink
make sure a type is set
Browse files Browse the repository at this point in the history
related to Issue #7
  • Loading branch information
kruisdraad committed Feb 22, 2015
1 parent de4821c commit 83a1d47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core/reporting.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function reportAdd($report) {
extract($report);
}

if (!isset($ip) || !isset($source) || !isset($class) || !isset($timestamp)) {
if (!isset($ip) || !isset($source) || !isset($class) || !isset($type) || !isset($timestamp)) {
return false;
}

Expand Down

0 comments on commit 83a1d47

Please sign in to comment.