mirror of
https://github.com/humhub/humhub.git
synced 2025-03-14 20:19:47 +01:00
Added style fixes
This commit is contained in:
parent
d896cad571
commit
567cdc2d6d
@ -156,7 +156,7 @@ class NewComment extends \humhub\modules\notification\components\BaseNotificatio
|
||||
{
|
||||
$contentInfo = $this->getContentInfo($this->getCommentedRecord());
|
||||
|
||||
if(!$contentInfo){
|
||||
if (!$contentInfo) {
|
||||
$contentInfo = Yii::t('CommentModule.notification', "[Deleted]");
|
||||
}
|
||||
|
||||
@ -180,7 +180,7 @@ class NewComment extends \humhub\modules\notification\components\BaseNotificatio
|
||||
public function getCommentedRecord()
|
||||
{
|
||||
$source = $this->source;
|
||||
if(is_null($source)){
|
||||
if ( is_null($source)) {
|
||||
//This prevents the error, but we need to clean the database
|
||||
return null;
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user