mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 20:06:08 +01:00 
			
		
		
		
	fix
This commit is contained in:
		@@ -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;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user