Skip to content

Commit

Permalink
FOrmatting
Browse files Browse the repository at this point in the history
  • Loading branch information
thekabal committed Mar 12, 2018
1 parent 222789f commit 20dd8f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions classes/News/NewsGateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ public function selectNewsByDay(string $day)
$stmt->bindValue(':end', $day . ' 23:59:59', \PDO::PARAM_STR);
$stmt->execute();
\Tki\Db::logDbErrors($this->pdo_db, $sql, __LINE__, __FILE__); // Log errors, if there are any

$return_value = $stmt->fetchAll(\PDO::FETCH_ASSOC);
return $return_value;
}
Expand Down

0 comments on commit 20dd8f3

Please sign in to comment.