image_annotation/commit
use http_in_session to prevent exception after session time out
author | Jacco van Ossenbruggen |
---|---|
Tue Oct 16 09:51:50 2012 +0200 | |
committer | Jacco van Ossenbruggen |
Tue Oct 16 09:51:50 2012 +0200 | |
commit | 6337ab083fbf9fcf674528aed39f73352dedd8f3 |
tree | 7277baaa9ded5ff47b877fea98c44877a031639f |
parent | 3863603833a0ac49774c735f835a04b84144bd46 |
Diff style: patch stat
diff --git a/config-available/ann_preferences.pl b/config-available/ann_preferences.pl index 9e1782f..423c72e 100644 --- a/config-available/ann_preferences.pl +++ b/config-available/ann_preferences.pl @@ -29,6 +29,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)).