mirror of
https://github.com/zadam/trilium.git
synced 2025-11-09 21:30:53 +08:00
fix
This commit is contained in:
parent
886ee0dbcb
commit
82e4e28e7b
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ function getOptionOrNull(name) {
|
|||
option = becca.getOption(name);
|
||||
} else {
|
||||
// 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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue