File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ function showContent()
125
125
{
126
126
$ user = common_current_user ();
127
127
128
- if (! empty ($ user ) && $ user ->conversationTree ()) {
128
+ if (empty ($ user ) || $ user ->conversationTree ()) {
129
129
$ nl = new ConversationTree ($ this ->notices , $ this );
130
130
} else {
131
131
$ nl = new FullThreadedNoticeList ($ this ->notices , $ this , $ this ->userProfile );
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ function prepare($args)
92
92
93
93
$ user = common_current_user ();
94
94
95
- if (! empty ($ user ) && $ user ->streamModeOnly ()) {
95
+ if (empty ($ user ) || $ user ->streamModeOnly ()) {
96
96
$ stream = new PublicNoticeStream ($ this ->userProfile , $ this ->images );
97
97
} else {
98
98
$ stream = new ThreadingPublicNoticeStream ($ this ->userProfile , $ this ->images );
You can’t perform that action at this time.
0 commit comments