mirror of
https://github.com/opensupports/opensupports.git
synced 2025-07-31 01:35:15 +02:00
Fix small issue, now all names of authors of logs are stored.
This commit is contained in:
parent
a883f4d430
commit
fa5300a731
@ -39,7 +39,10 @@ class Log extends DataStore {
|
||||
|
||||
if($author === null) {
|
||||
$author = Controller::getLoggedUser();
|
||||
if(!$author->isNull()) $authorName = $author->name;
|
||||
}
|
||||
|
||||
if(!$author->isNull()) {
|
||||
$authorName = $author->name;
|
||||
}
|
||||
|
||||
$log = new Log();
|
||||
|
Loading…
x
Reference in New Issue
Block a user