diff --git a/frappe/hooks.py b/frappe/hooks.py index d0b51a5da0..4e00dfd5da 100644 --- a/frappe/hooks.py +++ b/frappe/hooks.py @@ -1,7 +1,7 @@ app_name = "frappe" app_title = "Frappe Framework" app_publisher = "Web Notes Technologies Pvt. Ltd." -app_description = "Full Stack Web Application Framwork in Python" +app_description = "Full Stack Web Application Framework in Python" app_icon = "assets/frappe/images/frappe.svg" app_version = "4.3.0" app_color = "#3498db" diff --git a/frappe/widgets/query_report.py b/frappe/widgets/query_report.py index 825b97e7c2..dbeb93d13b 100644 --- a/frappe/widgets/query_report.py +++ b/frappe/widgets/query_report.py @@ -86,7 +86,7 @@ def run(report_name, filters=()): method_name = get_report_module_dotted_path(module, report.name) + ".execute" columns, result = frappe.get_attr(method_name)(frappe._dict(filters)) - if report.apply_user_permissions: + if report.apply_user_permissions and result: result = get_filtered_data(report.ref_doctype, columns, result) if cint(report.add_total_row) and result: