From fb33308a83e32d74620e745e2b9e448b1b73e68d Mon Sep 17 00:00:00 2001 From: Akhilesh Darjee Date: Fri, 17 Jan 2014 11:08:28 +0530 Subject: [PATCH] use cint for integer values --- core/doctype/customize_form/customize_form.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/doctype/customize_form/customize_form.txt b/core/doctype/customize_form/customize_form.txt index 1fb21e36fc..5fa2bf21ad 100644 --- a/core/doctype/customize_form/customize_form.txt +++ b/core/doctype/customize_form/customize_form.txt @@ -2,7 +2,7 @@ { "creation": "2013-01-29 17:54:08", "docstatus": 0, - "modified": "2013-11-03 11:06:11", + "modified": "2014-01-15 16:16:23", "modified_by": "Administrator", "owner": "Administrator" }, @@ -120,7 +120,7 @@ "search_index": 0 }, { - "depends_on": "eval:doc.allow_attach", + "depends_on": "eval:cint(doc.allow_attach)", "doctype": "DocField", "fieldname": "max_attachments", "fieldtype": "Int",