* Fix a null reference exception that I introduced

0.6.0-stable
Teravus Ovares 2008-09-23 19:16:02 +00:00
parent 9a17d2b1fd
commit 480377e853
1 changed files with 1 additions and 1 deletions

View File

@ -390,7 +390,7 @@ namespace OpenSim.Framework.Servers
return; return;
} }
if (request.AcceptTypes.Length > 0) if (request.AcceptTypes != null && request.AcceptTypes.Length > 0)
{ {
foreach (string strAccept in request.AcceptTypes) foreach (string strAccept in request.AcceptTypes)
{ {