Fix commit 5cda5617
authorMatthias Schmidt <gravatronics@live.com>
Sun, 10 Apr 2016 12:40:04 +0000 (14:40 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sun, 10 Apr 2016 12:40:04 +0000 (14:40 +0200)
files/lib/data/conversation/UserConversationList.class.php

index 628205ead86d527c08cd2513ffe0e3326756930f..51d832c2a7192141c80f3d77d909023ca9af1396 100644 (file)
@@ -112,7 +112,11 @@ class UserConversationList extends ConversationList {
         * @see \wcf\data\DatabaseObjectList::readObjectIDs()
         */
        public function readObjectIDs() {
-               if ($this->filter == 'draft') parent::readObjectIDs();
+               if ($this->filter == 'draft') {
+                       parent::readObjectIDs();
+                       
+                       return;
+               }
                
                $this->objectIDs = array();
                $sql = "SELECT  conversation_to_user.conversationID AS objectID