diff --git a/files/routes/users.py b/files/routes/users.py index 57be547bf..aa5047839 100644 --- a/files/routes/users.py +++ b/files/routes/users.py @@ -390,7 +390,7 @@ def get_css(id): try: id = int(id) except: abort(404) - css, bg = g.db.query(User.profilecss, User.profile_background).filter_by(id=id).one_or_none() + css, bg = g.db.query(User.profilecss, User.background).filter_by(id=id).one_or_none() if bg: if not css: css = '' diff --git a/files/templates/header.html b/files/templates/header.html index be4dfaa6a..ce1fe0623 100644 --- a/files/templates/header.html +++ b/files/templates/header.html @@ -264,7 +264,7 @@