// Check for accounts to be notified
$result_main = sqlQuery($sql, __FILE__, __LINE__);
- if (!ifSqlHasZeroNums($result_main)) {
+
+ if (!ifSqlHasZeroNumRows($result_main)) {
// Okay lets notify all users!
while ($content = sqlFetchArray($result_main)) {
// Update account