fixed many small errors, thanks Marin Pranjić

This commit is contained in:
Massimo Di Pierro committed 2012-02-14 08:40:06 -06:00
1 parent 1c808ecda2
commit 01b09a450e
8 files changed
+40 -38

No files matched your search

+1 -1
View File
@@ -1606,7 +1606,7 @@ class SQLFORM(FORM):
table = db[request.args[-2]]
if ondelete:
ondelete(table,request.args[-1])
ret = db(table[self.id_field_name]==request.args[-1]).delete()
ret = db(table[table._id.name]==request.args[-1]).delete()
return ret
elif csv and len(request.args)>0 and request.args[-1]=='csv':
if request.vars.keywords: