Merge branch 'master' of github.com:gogits/gogs into dev

Conflicts:
	dockerfiles/README.md
This commit is contained in:
Unknwon committed 2014-08-31 15:11:55 +08:00
commit 7e36bf448d
7 files changed
+47 -7

No files matched your search

+1 -1
View File
@@ -99,7 +99,7 @@ func GetWebhooksByRepoId(repoId int64) (ws []*Webhook, err error) {
// UpdateWebhook updates information of webhook.
func UpdateWebhook(w *Webhook) error {
_, err := x.AllCols().Update(w)
_, err := x.Id(w.Id).AllCols().Update(w)
return err
}