mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-12 08:16:05 -07:00
Fixed a bug in the Plex Newsletter
This commit is contained in:
parent
c3cba15b17
commit
c95e7368ae
2 changed files with 21 additions and 4 deletions
|
@ -25,6 +25,7 @@
|
|||
// ***********************************************************************
|
||||
#endregion
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
|
@ -61,7 +62,7 @@ namespace Ombi.Store
|
|||
{
|
||||
connection.Open();
|
||||
var result = connection.Query<TableInfo>($"PRAGMA table_info({tableName});");
|
||||
if (result.Any(x => x.name == newColumn))
|
||||
if (result.Any(x => x.name.Equals(newColumn, StringComparison.CurrentCultureIgnoreCase)))
|
||||
{
|
||||
connection.Close();
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue