app/soc/views/models/notification.py
changeset 1890 a8a5da24212c
parent 1667 95bc81b4cd5c
child 1991 3aeda3007467
--- a/app/soc/views/models/notification.py	Mon Mar 16 15:33:27 2009 +0000
+++ b/app/soc/views/models/notification.py	Mon Mar 16 16:27:21 2009 +0000
@@ -163,7 +163,7 @@
     # get the current user
     current_user = user_logic.getForCurrentAccount()
 
-    fields['link_id'] = 't%i' % (time.time())
+    fields['link_id'] = 't%i' %(int(time.time()*100))
     fields['scope'] = fields['to_user']
     fields['from_user'] = current_user
     fields['scope_path'] = fields['to_user'].link_id