We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 772d46c commit bbdbd22Copy full SHA for bbdbd22
1 file changed
migrations/update_user_notifications.php
@@ -30,7 +30,7 @@ public function effectively_installed()
30
$sql = 'SELECT method
31
FROM ' . $this->table_prefix . "user_notifications
32
WHERE method = '" . $this->db->sql_escape('notification.method.phpbb.wpn.webpush') . "'";
33
- $result = $this->db->sql_query($sql);
+ $result = $this->db->sql_query_limit($sql, 1);
34
$row = $this->db->sql_fetchrow($result);
35
$this->db->sql_freeresult($result);
36
0 commit comments