We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6fb3db6 + b409fef commit 5cbff6cCopy full SHA for 5cbff6c
1 file changed
application/libraries/Aauth.php
@@ -2054,6 +2054,8 @@ public function count_unread_pms($receiver_id=FALSE){
2054
2055
$query = $this->aauth_db->where('receiver_id', $receiver_id);
2056
$query = $this->aauth_db->where('date_read', NULL);
2057
+ $query = $this->aauth_db->where('pm_deleted_sender', NULL);
2058
+ $query = $this->aauth_db->where('pm_deleted_receiver', NULL);
2059
$query = $this->aauth_db->get( $this->config_vars['pms'] );
2060
2061
return $query->num_rows();
0 commit comments