commenter_update.go: allow editing link, photo
This commit is contained in:
parent
2a11149034
commit
2f9368a275
@ -51,7 +51,7 @@ func commenterUpdateHandler(w http.ResponseWriter, r *http.Request) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if c.Provider == "commento" {
|
if c.Provider != "commento" {
|
||||||
*x.Link = c.Link
|
*x.Link = c.Link
|
||||||
*x.Photo = c.Photo
|
*x.Photo = c.Photo
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user