fixed bug in conference hotlist sidebox rendering
This commit is contained in:
@@ -1003,7 +1003,7 @@ func AmGetConference(ctx context.Context, id int32) (*Conference, error) {
|
|||||||
return rc.(*Conference), nil
|
return rc.(*Conference), nil
|
||||||
}
|
}
|
||||||
var conf Conference
|
var conf Conference
|
||||||
err := amdb.GetContext(ctx, &conf, "SELECT * from confs where confid = ?")
|
err := amdb.GetContext(ctx, &conf, "SELECT * from confs where confid = ?", id)
|
||||||
switch err {
|
switch err {
|
||||||
case nil:
|
case nil:
|
||||||
conferenceCache.Add(id, &conf)
|
conferenceCache.Add(id, &conf)
|
||||||
|
|||||||
Reference in New Issue
Block a user