aboutsummaryrefslogtreecommitdiff
path: root/models/issue.go
diff options
context:
space:
mode:
authorPeter Smit <peter@smitmail.eu>2015-02-23 12:34:41 +0200
committerPeter Smit <peter@smitmail.eu>2015-02-23 12:34:41 +0200
commit556881964fb8137561e9f381d4a5aaef97627cc5 (patch)
tree32aebddd8c123c540cf04ac6dfd0e503450d9247 /models/issue.go
parentaa68e86206d7d9fc74de8630acfa07dfd7f1bc95 (diff)
parentee68a826a55c6a4305e7f609db57501a54a5bc47 (diff)
Merge branch 'access' into access_rewriteserv
Diffstat (limited to 'models/issue.go')
-rw-r--r--models/issue.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/issue.go b/models/issue.go
index 3cd71d8a..2b80e576 100644
--- a/models/issue.go
+++ b/models/issue.go
@@ -564,7 +564,7 @@ func GetLabels(repoId int64) ([]*Label, error) {
// UpdateLabel updates label information.
func UpdateLabel(l *Label) error {
- _, err := x.Id(l.Id).Update(l)
+ _, err := x.Id(l.Id).AllCols().Update(l)
return err
}