Set active account now works again

This commit is contained in:
Torkel Ödegaard
2014-12-15 21:56:16 +01:00
parent 973b9cad36
commit 705455d5d6
8 changed files with 49 additions and 36 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ func SaveDashboard(dash *models.Dashboard) error {
if dash.Id == 0 {
_, err = sess.Insert(dash)
} else {
_, err = sess.Update(dash)
_, err = sess.Id(dash.Id).Update(dash)
}
if err != nil {