diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2003-06-26 16:46:17 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2003-06-26 16:46:17 +0000 |
| commit | fd03f6c5f24588961cbe022f986db7a6e8e14c0f (patch) | |
| tree | 7c5b6504cc6c05f8d934ae3dd5c62a13c771532f /phpBB/viewtopic.php | |
| parent | 59573cce8b69bf48ffc81da3ffb14e2b403f6583 (diff) | |
| download | forums-fd03f6c5f24588961cbe022f986db7a6e8e14c0f.tar forums-fd03f6c5f24588961cbe022f986db7a6e8e14c0f.tar.gz forums-fd03f6c5f24588961cbe022f986db7a6e8e14c0f.tar.bz2 forums-fd03f6c5f24588961cbe022f986db7a6e8e14c0f.tar.xz forums-fd03f6c5f24588961cbe022f986db7a6e8e14c0f.zip | |
fixed edit posts (wrong username/id entered)
git-svn-id: file:///svn/phpbb/trunk@4178 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/viewtopic.php')
| -rw-r--r-- | phpBB/viewtopic.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index 06d5410c59..51938a4923 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -1097,7 +1097,7 @@ foreach ($rowset as $i => $row) 'U_EDIT' => (($user->data['user_id'] == $poster_id && $auth->acl_get('f_edit', $forum_id) && ($row['post_time'] > time() - $config['edit_time'] || !$config['edit_time'])) || $auth->acl_get('m_edit', $forum_id)) ? "posting.$phpEx$SID&mode=edit&f=$forum_id&p=" . $row['post_id'] : '', 'U_QUOTE' => ($auth->acl_get('f_quote', $forum_id)) ? "posting.$phpEx$SID&mode=quote&f=$forum_id&p=" . $row['post_id'] : '', 'U_IP' => ($auth->acl_get('m_ip', $forum_id)) ? "mcp.$phpEx?sid=" . $user->session_id . "&mode=post_details&p=" . $row['post_id'] . "&t=$topic_id#ip" : '', - 'U_DELETE' => (($user->data['user_id'] == $poster_id && $auth->acl_get('f_delete', $forum_id) && $topic_data['topic_last_post_id'] == $row['post_id'] && ($row['post_time'] > time() - $config['edit_time'] || !$config['edit_time'])) || $auth->acl_get('m_delete', $forum_id)) ? "posting.$phpEx$SID&mode=delete&p=" . $row['post_id'] : '', + 'U_DELETE' => (($user->data['user_id'] == $poster_id && $auth->acl_get('f_delete', $forum_id) && $topic_data['topic_last_post_id'] == $row['post_id'] && ($row['post_time'] > time() - $config['edit_time'] || !$config['edit_time'])) || $auth->acl_get('m_delete', $forum_id)) ? "posting.$phpEx$SID&mode=delete&f=$forum_id&p=" . $row['post_id'] : '', 'U_PROFILE' => $user_cache[$poster_id]['profile'], 'U_SEARCH' => $user_cache[$poster_id]['search'], |
