Merge branch 'master' of github.com:humhub/humhub

This commit is contained in:
buddh4 2020-03-24 18:03:30 +01:00
commit a6474bab8f
3 changed files with 8 additions and 4 deletions

View File

@ -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',

View File

@ -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 `<li>` tag
- Fix #3911: Error thrown in UrlRule for non existing user names

View File

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