Index: trunk/extensions/LiquidThreads/classes/Thread.php |
— | — | @@ -1159,6 +1159,9 @@ |
1160 | 1160 | |
1161 | 1161 | if ( !$title && $this->type() != Threads::TYPE_DELETED ) { |
1162 | 1162 | $this->delete('', false /* !commit */); |
| 1163 | + } |
| 1164 | + |
| 1165 | + if ( !$title ) { |
1163 | 1166 | return null; |
1164 | 1167 | } |
1165 | 1168 | |