mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
CourseEvent fixed
This commit is contained in:
@@ -45,8 +45,8 @@ trait NostrTrait
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
if ($model instanceof CourseEvent) {
|
if ($model instanceof CourseEvent) {
|
||||||
if ($model->lecturer->nostr) {
|
if ($model->course->lecturer->nostr) {
|
||||||
$from .= '@'.$model->lecturer->nostr;
|
$from .= '@'.$model->course->lecturer->nostr;
|
||||||
} else {
|
} else {
|
||||||
$from .= $model->lecturer->name;
|
$from .= $model->lecturer->name;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user