mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 23:55:19 +00:00
parse issue
This commit is contained in:
parent
3a51efd9bf
commit
db7cdca177
1 changed files with 1 additions and 1 deletions
|
@ -2599,7 +2599,7 @@ class Activity {
|
|||
if (isset($act->obj['commentPolicy'])) {
|
||||
$until = strpos($act->obj['commentPolicy'],'until=');
|
||||
if ($until !== false) {
|
||||
$item['comments_closed'] = datetime_convert('UTC','UTC',substr($act->obj['commentPolicy'],'until=') + 6);
|
||||
$item['comments_closed'] = datetime_convert('UTC','UTC',substr($act->obj['commentPolicy'],$until + 6));
|
||||
if ($item['comments_closed'] < datetime_convert()) {
|
||||
$item['nocomment'] = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue