瀏覽代碼

[hotfix] prevent multiple sql queries

version-14
Anand Doshi 10 年之前
父節點
當前提交
6d16ba450f
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      frappe/database.py

+ 1
- 1
frappe/database.py 查看文件

@@ -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",


Loading…
取消
儲存