`userid` ASC",
array($day, $month, $value), __FILE__, __LINE__);
-if (SQL_NUMROWS($result_birthday) > 0) {
+if (!SQL_HASZERONUMS($result_birthday)) {
// Start sending out birthday mails
while ($content = SQL_FETCHARRAY($result_birthday)) {
// Calculate own timestamp for birthday and today