#334826 by maartenvg, Dave Reid, brianV: when editing an anonymous comment, the uid was set to NULL, which is not valid as a database value for the uid; set to zero