mirror of
https://github.com/humhub/humhub.git
synced 2025-01-17 06:08:21 +01:00
Merge branch 'master' of github.com:humhub/humhub
This commit is contained in:
commit
a6474bab8f
@ -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',
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user