diff options
Diffstat (limited to 'addons')
-rw-r--r-- | addons/reference/reference.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/reference/reference.go b/addons/reference/reference.go index f9f0274..b6cede8 100644 --- a/addons/reference/reference.go +++ b/addons/reference/reference.go @@ -21,7 +21,7 @@ type Referenceable interface { // IMPORTANT: // The `fieldName` argument will cause a panic if it is not exactly the string // form of the struct field that this editor input is representing -func Select(fieldName string, p interface{}, attrs map[string]string, contentType string, tmpl template.Template) []byte { +func Select(fieldName string, p interface{}, attrs map[string]string, contentType string, tmpl *template.Template) []byte { // decode all content type from db into options map // map["?type=<contentType>&id=<id>"]t.String() options := make(map[string]string) |