Skip to content

Commit

Permalink
Fix throwing exception.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Jan 21, 2018
1 parent 45cf403 commit c05e9d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Driver.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public function getStories($criteria, $order = Jonah::ORDER_PUBLISHED)
}

if (empty($criteria['channel_id'])) {
throw InvalidArgumentException('Missing expected channel_id parameter.');
throw new InvalidArgumentException('Missing expected channel_id parameter.');
}

// Validate that we have proper Horde_Date objects
Expand Down

0 comments on commit c05e9d8

Please sign in to comment.