Skip to content

Commit

Permalink
fix bugs.
Browse files Browse the repository at this point in the history
  • Loading branch information
DoraemonYu committed Aug 30, 2018
1 parent f7a054a commit aa3d9ee
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
Binary file modified Build/en/MicroDBHelper.dll
Binary file not shown.
Binary file modified Build/zh/MicroDBHelper.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion Source/MicroDBHelper/MicroDBHelper/MicroDBHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ public static void SetConnection(string m_connectionString,string m_ConnectionAl
internal static string GetConnection(string m_ConnectionAliasName = ALIAS_NAME_DEFAULT)
{
var targetItem = ConnectionRepository.GetRepositoryItem(m_ConnectionAliasName);
if (targetItem == null)
if (targetItem != null)
return targetItem.ConnectionString;
else
{
Expand Down

0 comments on commit aa3d9ee

Please sign in to comment.