Browse Source

Merge pull request #163 from paulcanning/2.5-stable

Fix for count_unread_pms
develop
Raphael Jackstadt 9 years ago committed by GitHub
parent
commit
5cbff6c4c0
  1. 2
      application/libraries/Aauth.php

2
application/libraries/Aauth.php

@ -2054,6 +2054,8 @@ class Aauth {
$query = $this->aauth_db->where('receiver_id', $receiver_id);
$query = $this->aauth_db->where('date_read', NULL);
$query = $this->aauth_db->where('pm_deleted_sender', NULL);
$query = $this->aauth_db->where('pm_deleted_receiver', NULL);
$query = $this->aauth_db->get( $this->config_vars['pms'] );
return $query->num_rows();

Loading…
Cancel
Save