making sure nothing else than integers are handed to the database;

master
Tezza 2015-03-23 15:48:00 +01:00
parent 015ed5e52a
commit 3d0a0c037b
1 changed files with 3 additions and 0 deletions

View File

@ -163,6 +163,9 @@
static public function getEventsByMonth( $events, $year, $month ) {
$year = (int) $year;
$month = (int) $month;
$eventsInMonth = false;
foreach( $events as $event ) {