fix(habitic): Added debug to badges

Signed-off-by: Stuart McCulloch Anderson's avatarStuart McCulloch Anderson <stuart@nxfifteen.me.uk>
parent 9ff69da9
......@@ -37,6 +37,8 @@ class FitbitBadgeAwarded extends Modules
$this->setEventDetails($eventDetails);
$badge = $this->getEventDetails();
nxr(0, "DEBUG:: " . print_r($badge, true));
if ($this->checkDB("badge", $badge->category . " | " . $badge->shortName, "awarded", $badge->category . $badge->shortName)) {
} else if ($this->checkDB("badge", $badge->category, "awarded", $badge->category)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment