Browse Source

Merge pull request #980 from nabinhait/fix1

Minor fix
version-14
Nabin Hait 10 years ago
parent
commit
56acabcb22
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      frappe/widgets/query_report.py

+ 1
- 1
frappe/widgets/query_report.py View File

@@ -69,7 +69,7 @@ def run(report_name, filters=()):
frappe.msgprint(_("Must have report permission to access this report."), frappe.msgprint(_("Must have report permission to access this report."),
raise_exception=True) raise_exception=True)


columns, results = [], []
columns, result = [], []
if report.report_type=="Query Report": if report.report_type=="Query Report":
if not report.query: if not report.query:
frappe.msgprint(_("Must specify a Query to run"), raise_exception=True) frappe.msgprint(_("Must specify a Query to run"), raise_exception=True)


Loading…
Cancel
Save