1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

forgot some changes for post_time

git-svn-id: file:///svn/phpbb/trunk@6118 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2006-06-23 14:25:21 +00:00
parent 9c31a05b1c
commit 16a40387f1
5 changed files with 13 additions and 7 deletions

View File

@@ -485,6 +485,9 @@ class acp_search
{
global $db;
/**
* @todo what is faster, doing a MAX() or an ORDER BY post_id and LIMIT 1?
*/
$sql = 'SELECT MAX(post_id) as max_post_id
FROM '. POSTS_TABLE;
$result = $db->sql_query($sql);