mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
* Fix a null reference exception that I introduced
This commit is contained in:
@@ -390,7 +390,7 @@ namespace OpenSim.Framework.Servers
|
||||
return;
|
||||
}
|
||||
|
||||
if (request.AcceptTypes.Length > 0)
|
||||
if (request.AcceptTypes != null && request.AcceptTypes.Length > 0)
|
||||
{
|
||||
foreach (string strAccept in request.AcceptTypes)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user