mirror of
https://github.com/opensim/opensim.git
synced 2026-05-14 18:55:39 +08:00
== string.Empty is .Lenght == 0
This commit is contained in:
@@ -255,7 +255,7 @@ namespace OpenSim.Region.CoreModules.Scripting.EmailModules
|
||||
public void SendEmail(UUID objectID, string address, string subject, string body)
|
||||
{
|
||||
//Check if address is empty
|
||||
if (address == string.Empty)
|
||||
if (address.Length == 0)
|
||||
return;
|
||||
|
||||
//FIXED:Check the email is correct form in REGEX
|
||||
|
||||
Reference in New Issue
Block a user