From e646cc4f8e72fa6baf5cf7fdfc20ea5793755edb Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Tue, 12 Oct 2010 22:48:43 +0000 Subject: [PATCH] Add mimetype to export plugin --- addressbook/inc/class.addressbook_export_contacts_csv.inc.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/addressbook/inc/class.addressbook_export_contacts_csv.inc.php b/addressbook/inc/class.addressbook_export_contacts_csv.inc.php index 281be841d1..859d743a10 100644 --- a/addressbook/inc/class.addressbook_export_contacts_csv.inc.php +++ b/addressbook/inc/class.addressbook_export_contacts_csv.inc.php @@ -78,6 +78,10 @@ class addressbook_export_contacts_csv implements importexport_iface_export_plugi return 'csv'; } + public static function get_mimetype() { + return 'text/csv'; + } + /** * return html for options. * this way the plugin has all opertunities for options tab