fixed wrong validation of record_id in globals

This commit is contained in:
mdipierro
2013-09-09 14:28:58 -05:00
parent 69d5fb1d64
commit 16b95b8132
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.6.0-development+timestamp.2013.09.09.14.16.32
Version 2.6.0-development+timestamp.2013.09.09.14.28.03
+1 -1
View File
@@ -915,7 +915,7 @@ class Session(Storage):
return
(record_id, sep, unique_key) = response.session_id.partition(':')
if record_id.isdigit() and long(record_id)>1:
if record_id.isdigit() and long(record_id):
new_unique_key = web2py_uuid()
row = table(record_id)
if row and row.unique_key==unique_key: