We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3932bef commit b409fefCopy full SHA for b409fef
1 file changed
application/libraries/Aauth.php
@@ -2119,6 +2119,8 @@ public function count_unread_pms($receiver_id=FALSE){
2119
2120
$query = $this->aauth_db->where('receiver_id', $receiver_id);
2121
$query = $this->aauth_db->where('date_read', NULL);
2122
+ $query = $this->aauth_db->where('pm_deleted_sender', NULL);
2123
+ $query = $this->aauth_db->where('pm_deleted_receiver', NULL);
2124
$query = $this->aauth_db->get( $this->config_vars['pms'] );
2125
2126
return $query->num_rows();
0 commit comments