Merge pull request #838 from nabinhait/hotfix

Minor fixes
This commit is contained in:
Anand Doshi 2014-09-11 15:31:56 +05:30
commit 1e8f7d512f
2 changed files with 2 additions and 2 deletions

View file

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

View file

@ -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: