Core/SupportMgr: Fix static analysis issue

This commit is contained in:
Vincent-Michael
2015-03-13 21:11:44 +01:00
parent ef54ee52e2
commit 04020e717c

View File

@@ -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; }