[patches] [fix] fixed an old patch
diff --git a/patches/april_2013/p05_update_file_data.py b/patches/april_2013/p05_update_file_data.py
index 7879912..abf9985 100644
--- a/patches/april_2013/p05_update_file_data.py
+++ b/patches/april_2013/p05_update_file_data.py
@@ -9,7 +9,9 @@
 	
 	for doctype in webnotes.conn.sql_list("""select parent from tabDocField where 
 		fieldname='file_list'"""):
-		update_file_list(doctype, singles)
+		# the other scenario is handled in p07_update_file_data_2
+		if doctype in singles:
+			update_file_list(doctype, singles)
 		
 		webnotes.conn.sql("""delete from tabDocField where fieldname='file_list'
 				and parent=%s""", doctype)