This website works better with JavaScript.
Home
Explore
Help
Sign In
anoopmb
/
frappe
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
[hotfix] prevent multiple sql queries
version-14
Anand Doshi
10 years ago
parent
47ec703fbc
commit
6d16ba450f
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
frappe/database.py
+ 1
- 1
frappe/database.py
View File
@@ -224,7 +224,7 @@ class Database:
if len(query_lower) > 1:
for q in query_lower[1:]:
if q.strip().split()[0] in (
if q.strip()
and q.strip()
.split()[0] in (
"update",
"truncate",
"alter",
Write
Preview
Loading…
Cancel
Save