mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
fix
This commit is contained in:
parent
886ee0dbcb
commit
82e4e28e7b
@ -9,7 +9,7 @@ function getOptionOrNull(name) {
|
|||||||
option = becca.getOption(name);
|
option = becca.getOption(name);
|
||||||
} else {
|
} else {
|
||||||
// e.g. in initial sync becca is not loaded because DB is not initialized
|
// e.g. in initial sync becca is not loaded because DB is not initialized
|
||||||
option = sql.getRow("SELECT * FROM options WHERE name = ?", name);
|
option = sql.getRow("SELECT * FROM options WHERE name = ?", [name]);
|
||||||
}
|
}
|
||||||
|
|
||||||
return option ? option.value : null;
|
return option ? option.value : null;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user