mirror of
https://github.com/humhub/humhub.git
synced 2025-01-17 22:28:51 +01:00
Fixed cloud licence display
This commit is contained in:
parent
c1f3784b39
commit
0764662e0d
@ -26,7 +26,7 @@ class AboutVersion extends Widget
|
||||
$licence = $module->getLicence();
|
||||
|
||||
if ($licence->type === Licence::LICENCE_TYPE_PRO) {
|
||||
if (isset(Yii::$app->params['hosting'])) {
|
||||
if (isset(Yii::$app->params['hosting']) && empty($licence->licencedTo)) {
|
||||
return $this->render('about_version_pro_cloud', []);
|
||||
} else {
|
||||
return $this->render('about_version_pro', ['licence' => $licence]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user