Added style fixes

This commit is contained in:
Roman Leuprecht 2017-10-09 22:33:41 +02:00
parent d896cad571
commit 567cdc2d6d

View File

@ -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 {