fix (panic): possible panic when used with full text search engine

This commit is contained in:
MickaelK 2024-02-29 01:34:32 +11:00
parent 9c6d337c7f
commit ae70b692e6

View file

@ -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 {