diff --git a/royalnet/version.py b/royalnet/version.py index 6f1f79c5..29da4ff7 100644 --- a/royalnet/version.py +++ b/royalnet/version.py @@ -1 +1 @@ -semantic = "5.0a32" +semantic = "5.0a34" diff --git a/royalnet/web/royalprints/profile/templates/profile_page.html b/royalnet/web/royalprints/profile/templates/profile_page.html index 894746e1..7e8efdfa 100644 --- a/royalnet/web/royalprints/profile/templates/profile_page.html +++ b/royalnet/web/royalprints/profile/templates/profile_page.html @@ -16,7 +16,7 @@ Bio - {% if session["royal"]["uid"] == royal.uid or session["royal"]["role"] == "Admin" %} + {% if session["royal"] and (session["royal"]["uid"] == royal.uid or session["royal"]["role"] == "Admin") %} Modifica {% else %} Modifica