diff --git a/resources/page/pagegroup.go b/resources/page/pagegroup.go index e691a112e..7129fae17 100644 --- a/resources/page/pagegroup.go +++ b/resources/page/pagegroup.go @@ -205,7 +205,7 @@ func (p Pages) GroupByParam(key string, order ...string) (PagesGroup, error) { } } if !tmp.IsValid() { - return nil, errors.New("there is no such a param") + return nil, errors.New("there is no such param") } for _, e := range p {