mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/SupportMgr: Fix static analysis issue
This commit is contained in:
@@ -101,9 +101,10 @@ public:
|
||||
{
|
||||
std::string name;
|
||||
if (!_assignedTo.IsEmpty())
|
||||
ObjectMgr::GetPlayerNameByGUID(_assignedTo, name);
|
||||
if (ObjectMgr::GetPlayerNameByGUID(_assignedTo, name))
|
||||
return name;
|
||||
|
||||
return name;
|
||||
return nullptr;
|
||||
}
|
||||
std::string const& GetComment() { return _comment; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user