d0b43ef4 by git

beego.AppConfig.Strings bug

1 parent 07c628c7
...@@ -110,7 +110,7 @@ func (b *beegoAppConfig) String(key string) string { ...@@ -110,7 +110,7 @@ func (b *beegoAppConfig) String(key string) string {
110 110
111 func (b *beegoAppConfig) Strings(key string) []string { 111 func (b *beegoAppConfig) Strings(key string) []string {
112 v := b.innerConfig.Strings(RunMode + "::" + key) 112 v := b.innerConfig.Strings(RunMode + "::" + key)
113 if len(v) == 0 { 113 if v[0] == "" {
114 return b.innerConfig.Strings(key) 114 return b.innerConfig.Strings(key)
115 } 115 }
116 return v 116 return v
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!