mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
Fixed some small issues, here and there.
This commit is contained in:
parent
45a51497b6
commit
f4a765817b
6 changed files with 44 additions and 14 deletions
|
@ -278,7 +278,7 @@ namespace NzbDrone.Core.Providers.Core
|
|||
{
|
||||
string value;
|
||||
|
||||
var dbValue = _database.SingleOrDefault<Config>(key);
|
||||
var dbValue = _database.SingleOrDefault<Config>("WHERE Key=@0", key);
|
||||
|
||||
if (dbValue != null && !String.IsNullOrEmpty(dbValue.Value))
|
||||
return dbValue.Value;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue