Next ID didn't need the + 1

git-svn-id: file:///svn/phpbb/trunk@324 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
James Atkinson 2001-05-25 06:52:03 +00:00
parent 48312a6566
commit 2a3abfe286

View file

@ -346,7 +346,7 @@ class sql_db
$temp_result = @pg_fetch_array($temp_q_id, 0, PGSQL_ASSOC); $temp_result = @pg_fetch_array($temp_q_id, 0, PGSQL_ASSOC);
if($temp_result) if($temp_result)
{ {
return $temp_result['last_value']+1; return $temp_result['last_value'];
} }
else else
{ {