mirror of
https://github.com/openvk/openvk
synced 2024-12-22 08:31:18 +03:00
fuck conflict
This commit is contained in:
parent
7d6a8fbbbf
commit
a6b96f716a
1 changed files with 2 additions and 1 deletions
|
@ -210,6 +210,7 @@ abstract class OpenVKPresenter extends SimplePresenter
|
|||
if(OPENVK_ROOT_CONF['openvk']['preferences']['news']['show']) {
|
||||
$post = (new Posts)->getPostsFromUsersWall(-OPENVK_ROOT_CONF['openvk']['preferences']['news']['groupId'], 1, 1);
|
||||
$post = iterator_to_array($post)[0];
|
||||
|
||||
$text = wordwrap($post->getText(false), 150, '\n', false);
|
||||
$text = explode('\n', $text)[0];
|
||||
|
||||
|
@ -373,4 +374,4 @@ abstract class OpenVKPresenter extends SimplePresenter
|
|||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue