mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/10432] Fix for SQLite
PHPBB3-10432
This commit is contained in:
parent
101d3b7633
commit
30d1048c8e
1 changed files with 3 additions and 2 deletions
|
@ -80,8 +80,9 @@ class ucp_remind
|
|||
|
||||
$sql = $db->sql_build_query('SELECT', $sql_array);
|
||||
$result = $db->sql_query($sql);
|
||||
$rowset = $db->sql_fetchrowset($result);
|
||||
|
||||
if ($db->sql_affectedrows() > 1)
|
||||
if (count($rowset) > 1)
|
||||
{
|
||||
$db->sql_freeresult($result);
|
||||
|
||||
|
@ -92,7 +93,7 @@ class ucp_remind
|
|||
}
|
||||
else
|
||||
{
|
||||
$user_row = $db->sql_fetchrow($result);
|
||||
$user_row = $rowset[0];
|
||||
$db->sql_freeresult($result);
|
||||
|
||||
if (!$user_row)
|
||||
|
|
Loading…
Add table
Reference in a new issue