aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/notification
diff options
context:
space:
mode:
authorPatrick Webster <noxwizard@phpbb.com>2013-10-14 21:18:41 -0500
committerPatrick Webster <noxwizard@phpbb.com>2013-10-14 21:18:41 -0500
commit2b1ee16e4fa859ade2160910c529f59ddd1db697 (patch)
treeb9b787d3e211083d593cac7cfbe7867b08828b42 /phpBB/phpbb/notification
parent40932c26eaa7cddd0731b136a77c9bad704b69e0 (diff)
downloadforums-2b1ee16e4fa859ade2160910c529f59ddd1db697.tar
forums-2b1ee16e4fa859ade2160910c529f59ddd1db697.tar.gz
forums-2b1ee16e4fa859ade2160910c529f59ddd1db697.tar.bz2
forums-2b1ee16e4fa859ade2160910c529f59ddd1db697.tar.xz
forums-2b1ee16e4fa859ade2160910c529f59ddd1db697.zip
[ticket/11919] Remove extra argument to notification manager's sql_fetchfield()
PHPBB3-11919
Diffstat (limited to 'phpBB/phpbb/notification')
-rw-r--r--phpBB/phpbb/notification/manager.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/notification/manager.php b/phpBB/phpbb/notification/manager.php
index c42c84fb1f..b92b247c74 100644
--- a/phpBB/phpbb/notification/manager.php
+++ b/phpBB/phpbb/notification/manager.php
@@ -154,7 +154,7 @@ class manager
AND nt.notification_type_id = n.notification_type_id
AND nt.notification_type_enabled = 1';
$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);
}
@@ -167,7 +167,7 @@ class manager
AND nt.notification_type_id = n.notification_type_id
AND nt.notification_type_enabled = 1';
$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);
}