-
Notifications
You must be signed in to change notification settings - Fork 344
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Coding style #870
Coding style #870
Conversation
controllers/Index.php
Outdated
} else { | ||
if($itemDao->hasMore()) | ||
$itemsHtml .= '<div class="stream-more"><span>'. \F3::get('lang_more').'</span></div>'; | ||
$itemsHtml .= '<div class="mark-these-read"><span>'. \F3::get('lang_markread').'</span></div>'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No indention is wrong here: the button should be shown even if there are no more items to show, because it is intended to mark visible items as read.
Note: this code is removed by #846.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, never mind then.
732a1b6
to
bfeb5d7
Compare
6ed01c5
to
730b095
Compare
416751e
to
b8f228e
Compare
This will be merged once all other pending PRs are merged.
Edit: Coincidentally, it also fixes PHP 7.2 compatibility.