Commit 9b8d5bba authored by Caluera's avatar Caluera Committed by Johannes

Newsletters to send are counted properly

parent cce3a3bf
Pipeline #107105176 passed with stages
in 14 minutes and 8 seconds
......@@ -75,7 +75,7 @@
- Move map control elements on small devices #695 !1286 @lea.mzw
## Refactoring
- refactored to use count() instead of more complicated expressions !1273 @Caluera
- refactored to use count() instead of more complicated expressions !1273 !1296 @Caluera
- Removed support for old passwords stored in sha1 or md5, since we switched to Argon2 now almost 2 years ago. !1095 @alangecker
- Reduced complexity of the profile module !1037 @peter.toennies
- refactored blog from model to gateway !789 #9 @peter.toennies
......
......@@ -18,7 +18,7 @@ class EmailGateway extends BaseGateway
public function getMailsLeft($mail_id)
{
return $this->db->count('fs_email_status', ['email_id' => ' . (int)$mail_id . ', 'status' => 0]);
return $this->db->count('fs_email_status', ['email_id' => $mail_id, 'status' => 0]);
}
public function getMailNext($mail_id)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment