mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
We now return the log_id of newly created logs. This is used by the warnings code and may prove to be of use elsewhere or in MODs
git-svn-id: file:///svn/phpbb/trunk@5631 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -1806,6 +1806,8 @@ function add_log()
|
||||
}
|
||||
|
||||
$db->sql_query('INSERT INTO ' . LOG_TABLE . ' ' . $db->sql_build_array('INSERT', $sql_ary));
|
||||
|
||||
return $db->sql_nextid();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user