amalgame/commit
use http_in_session to prevent exception after session time out
author | Jacco van Ossenbruggen |
---|---|
Tue Oct 16 09:43:28 2012 +0200 | |
committer | Jacco van Ossenbruggen |
Tue Oct 16 09:43:28 2012 +0200 | |
commit | 22160e33c4956fbf7c5fe1c5e1c535bc0ea1da4d |
tree | 8c714b5ad76f1699aaeea42521fce27959bf4d1f |
parent | d2fbcc8efbd40fe223faa0d435d43b2b8609266e |
Diff style: patch stat
diff --git a/config-available/ag_preferences.pl b/config-available/ag_preferences.pl index a86f14b..8d337c2 100644 --- a/config-available/ag_preferences.pl +++ b/config-available/ag_preferences.pl @@ -30,6 +30,7 @@ % database in RDF, typically using the OpenID as subject. cliopatria:user_preference_db(Property, Value) :- + http_in_session(_), logged_on(User, anonymous), http_session_data(rdf(User, Property, Value)).