bug fix
This commit is contained in:
@@ -1194,11 +1194,11 @@ namespace v2rayN.Handler
|
||||
}
|
||||
if (isSub)
|
||||
{
|
||||
SqliteHelper.Instance.Execute($"delete from ProfileItem where isSub = 1 and subid = {subid}");
|
||||
SqliteHelper.Instance.Execute($"delete from ProfileItem where isSub = 1 and subid = '{subid}'");
|
||||
}
|
||||
else
|
||||
{
|
||||
SqliteHelper.Instance.Execute($"delete from ProfileItem where subid = {subid}");
|
||||
SqliteHelper.Instance.Execute($"delete from ProfileItem where subid = '{subid}'");
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
@@ -92,7 +92,7 @@ namespace v2rayN.Handler
|
||||
where 1=1 ";
|
||||
if (!Utils.IsNullOrEmpty(subid))
|
||||
{
|
||||
sql += $" and a.subid = {subid}";
|
||||
sql += $" and a.subid = '{subid}'";
|
||||
}
|
||||
if (!Utils.IsNullOrEmpty(filter))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user