mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-25 12:48:56 +00:00
Merge remote-tracking branch 'noxwizard/ticket/11919' into prep-release-3.1.0-a1
* noxwizard/ticket/11919: [ticket/11919] Remove extra argument to notification manager's sql_fetchfield()
This commit is contained in:
commit
532b124115
1 changed files with 2 additions and 2 deletions
|
@ -154,7 +154,7 @@ class manager
|
||||||
AND nt.notification_type_id = n.notification_type_id
|
AND nt.notification_type_id = n.notification_type_id
|
||||||
AND nt.notification_type_enabled = 1';
|
AND nt.notification_type_enabled = 1';
|
||||||
$result = $this->db->sql_query($sql);
|
$result = $this->db->sql_query($sql);
|
||||||
$unread_count = (int) $this->db->sql_fetchfield('unread_count', $result);
|
$unread_count = (int) $this->db->sql_fetchfield('unread_count');
|
||||||
$this->db->sql_freeresult($result);
|
$this->db->sql_freeresult($result);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -167,7 +167,7 @@ class manager
|
||||||
AND nt.notification_type_id = n.notification_type_id
|
AND nt.notification_type_id = n.notification_type_id
|
||||||
AND nt.notification_type_enabled = 1';
|
AND nt.notification_type_enabled = 1';
|
||||||
$result = $this->db->sql_query($sql);
|
$result = $this->db->sql_query($sql);
|
||||||
$total_count = (int) $this->db->sql_fetchfield('total_count', $result);
|
$total_count = (int) $this->db->sql_fetchfield('total_count');
|
||||||
$this->db->sql_freeresult($result);
|
$this->db->sql_freeresult($result);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue