fuck conflict

This commit is contained in:
Slava Petrov 2024-12-20 17:47:21 +03:00
parent 7d6a8fbbbf
commit a6b96f716a

View file

@ -210,6 +210,7 @@ abstract class OpenVKPresenter extends SimplePresenter
if(OPENVK_ROOT_CONF['openvk']['preferences']['news']['show']) { if(OPENVK_ROOT_CONF['openvk']['preferences']['news']['show']) {
$post = (new Posts)->getPostsFromUsersWall(-OPENVK_ROOT_CONF['openvk']['preferences']['news']['groupId'], 1, 1); $post = (new Posts)->getPostsFromUsersWall(-OPENVK_ROOT_CONF['openvk']['preferences']['news']['groupId'], 1, 1);
$post = iterator_to_array($post)[0]; $post = iterator_to_array($post)[0];
$text = wordwrap($post->getText(false), 150, '\n', false); $text = wordwrap($post->getText(false), 150, '\n', false);
$text = explode('\n', $text)[0]; $text = explode('\n', $text)[0];
@ -373,4 +374,4 @@ abstract class OpenVKPresenter extends SimplePresenter
return false; return false;
} }
} }
} }