diff --git a/protected/humhub/config/common.php b/protected/humhub/config/common.php index 193d87d743..541ba51dac 100644 --- a/protected/humhub/config/common.php +++ b/protected/humhub/config/common.php @@ -24,7 +24,7 @@ if (!defined('PKCS7_DETACHED')) { $config = [ 'name' => 'HumHub', - 'version' => '1.4.3', + 'version' => '1.4.4', 'basePath' => dirname(__DIR__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR, 'bootstrap' => ['log', 'humhub\components\bootstrap\ModuleAutoLoader', 'queue', 'humhub\modules\ui\view\bootstrap\ThemeLoader'], 'sourceLanguage' => 'en', diff --git a/protected/humhub/docs/CHANGELOG.md b/protected/humhub/docs/CHANGELOG.md index 61975f0ef3..afcc88b639 100644 --- a/protected/humhub/docs/CHANGELOG.md +++ b/protected/humhub/docs/CHANGELOG.md @@ -1,8 +1,8 @@ HumHub Change Log ================= -1.4.4 (Unreleased) ---------------------- +1.4.4 (March 24, 2020) +---------------------- - Fix #3908: `DateHelper::parseDateTime()` returns invalid date if given value is not parsable - Fix #3905: `accountTopMenu` renders redundant `
  • ` tag - Fix #3911: Error thrown in UrlRule for non existing user names diff --git a/protected/humhub/modules/like/widgets/LikeLink.php b/protected/humhub/modules/like/widgets/LikeLink.php index 0b77f32f3f..ac7bf3bb77 100644 --- a/protected/humhub/modules/like/widgets/LikeLink.php +++ b/protected/humhub/modules/like/widgets/LikeLink.php @@ -28,6 +28,10 @@ class LikeLink extends \yii\base\Widget */ public function run() { + if (Yii::$app->getModule('like')->isEnabled === false) { + return; + } + $currentUserLiked = false; $likes = Like::GetLikes($this->object->className(), $this->object->id); @@ -98,4 +102,4 @@ class LikeLink extends \yii\base\Widget } -?> \ No newline at end of file +?>