mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 21:03:17 -07:00
Fixed around the newsletter and a small feature around the permissions/features (#1215)
* fixup! Reset the branch on v2.1.0 tag to get to a shared state between dev and Master. * typo * Fixed a bug in the Plex Newsletter * Another newsletter fix attempt #1163 #1116
This commit is contained in:
parent
83ee6427d8
commit
ec9aac61dd
9 changed files with 59 additions and 11 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