git-svn-id: file:///svn/phpbb/trunk@7719 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Henry Sudhof 2007-06-06 17:04:56 +00:00
parent 8f692db407
commit e3033d80d3
2 changed files with 3 additions and 2 deletions

View file

@ -241,7 +241,7 @@ p a {
<li>[Sec] Changed the embedding of Flash (NeoThermic, DelvarWorld).</li> <li>[Sec] Changed the embedding of Flash (NeoThermic, DelvarWorld).</li>
<li>[Fix] Use the signature setting for PMs (Bug #12001)</li> <li>[Fix] Use the signature setting for PMs (Bug #12001)</li>
<li>[Fix] Made the DBMS selection use language variables (Bug #11969)</li> <li>[Fix] Made the DBMS selection use language variables (Bug #11969)</li>
<li>[Fix] Make sure that a folder is used when viewing messages to oneself (Bug #12105)</li>
</ul> </ul>
</div> </div>

View file

@ -271,7 +271,8 @@ class ucp_pm
$sql = 'SELECT folder_id $sql = 'SELECT folder_id
FROM ' . PRIVMSGS_TO_TABLE . " FROM ' . PRIVMSGS_TO_TABLE . "
WHERE msg_id = $msg_id WHERE msg_id = $msg_id
AND user_id = " . $user->data['user_id']; AND folder_id <> " . PRIVMSGS_NO_BOX . '
AND user_id = ' . $user->data['user_id'];
$result = $db->sql_query($sql); $result = $db->sql_query($sql);
$row = $db->sql_fetchrow($result); $row = $db->sql_fetchrow($result);
$db->sql_freeresult($result); $db->sql_freeresult($result);