mirror of
https://github.com/humhub/humhub.git
synced 2025-01-17 22:28:51 +01:00
Fixed missing "Space Join" activity for new registered users on default spaces
This commit is contained in:
parent
2f90226512
commit
90b5e016d2
@ -698,7 +698,7 @@ class Content extends CActiveRecord
|
||||
public function beforeValidate()
|
||||
{
|
||||
|
||||
if (!$this->container->canWrite()) {
|
||||
if (!$this->container->canWrite($this->created_by)) {
|
||||
$this->addError('visibility', Yii::t('WallModule.base', 'Insufficent permissions to create content!'));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user