mirror of
https://github.com/mickael-kerjean/filestash.git
synced 2024-04-21 12:32:08 +00:00
fix (panic): possible panic when used with full text search engine
This commit is contained in:
@@ -39,7 +39,7 @@ type BlackHole struct{}
|
|||||||
|
|
||||||
func (this BlackHole) Init(params map[string]string, app *App) (IBackend, error) {
|
func (this BlackHole) Init(params map[string]string, app *App) (IBackend, error) {
|
||||||
Log.Debug("plg_backend_nop::init params[%s]", params)
|
Log.Debug("plg_backend_nop::init params[%s]", params)
|
||||||
return BlackHole{}, nil
|
return &BlackHole{}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (this BlackHole) LoginForm() Form {
|
func (this BlackHole) LoginForm() Form {
|
||||||
|
|||||||
Reference in New Issue
Block a user