Merge branch 'dev' of /home/macgirvin/z into dev

This commit is contained in:
nobody 2021-04-13 21:21:54 -07:00
commit 2aa84260cc
2 changed files with 2 additions and 2 deletions

View file

@ -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;
}

View file

@ -16,7 +16,7 @@ use Zotlabs\Daemon\Run;
* @brief This file defines some global constants and includes the central App class.
*/
define ( 'STD_VERSION', '21.04.12' );
define ( 'STD_VERSION', '21.04.14' );
define ( 'ZOT_REVISION', '10.0' );
define ( 'DB_UPDATE_VERSION', 1248 );