nitpick alarm. ;)

git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8944 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen 2008-09-26 13:14:11 +00:00
parent 2bf9ea373b
commit 3b42ffcc9e
2 changed files with 2 additions and 2 deletions

View file

@ -283,7 +283,7 @@ if ($mode == 'delete')
if ($mode == 'bump') if ($mode == 'bump')
{ {
if ($bump_time = bump_topic_allowed($forum_id, $post_data['topic_bumped'], $post_data['topic_last_post_time'], $post_data['topic_poster'], $post_data['topic_last_poster_id']) if ($bump_time = bump_topic_allowed($forum_id, $post_data['topic_bumped'], $post_data['topic_last_post_time'], $post_data['topic_poster'], $post_data['topic_last_poster_id'])
&& check_link_hash(request_var('hash', ''),"topic_{$post_data['topic_id']}")) && check_link_hash(request_var('hash', ''), "topic_{$post_data['topic_id']}"))
{ {
$db->sql_transaction('begin'); $db->sql_transaction('begin');

View file

@ -476,7 +476,7 @@ if (($config['email_enable'] || $config['jab_enable']) && $config['allow_topic_n
// Bookmarks // Bookmarks
if ($config['allow_bookmarks'] && $user->data['is_registered'] && request_var('bookmark', 0)) if ($config['allow_bookmarks'] && $user->data['is_registered'] && request_var('bookmark', 0))
{ {
if (check_link_hash(request_var('hash', ''),"topic_$topic_id")) if (check_link_hash(request_var('hash', ''), "topic_$topic_id"))
{ {
if (!$topic_data['bookmarked']) if (!$topic_data['bookmarked'])
{ {