Fix
This commit is contained in:
parent
e18e24da46
commit
e0ffc51be3
|
@ -72,9 +72,6 @@ func trackView(urlString string, ref string, ua string) {
|
||||||
osInfo := userAgent.OSInfo()
|
osInfo := userAgent.OSInfo()
|
||||||
if osInfo.FullName != "" {
|
if osInfo.FullName != "" {
|
||||||
osString = osInfo.FullName
|
osString = osInfo.FullName
|
||||||
if osInfo.Version != "" {
|
|
||||||
osString += " " + osInfo.Version
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
_, e := db.trackingStmt.Exec(sql.Named("url", urlString), sql.Named("ref", ref), sql.Named("ua", ua), sql.Named("bot", bot), sql.Named("os", osString))
|
_, e := db.trackingStmt.Exec(sql.Named("url", urlString), sql.Named("ref", ref), sql.Named("ua", ua), sql.Named("bot", bot), sql.Named("os", osString))
|
||||||
|
|
Reference in New Issue