Add 'No definition' option for default export definition preference. Allows use of legacy nextmatch CSV export with Import/Export app still available

This commit is contained in:
Nathan Gray
2011-11-18 16:01:57 +00:00
parent 38f282bccf
commit 1afba81ce8
6 changed files with 16 additions and 6 deletions

View File

@ -203,7 +203,9 @@ class timesheet_hooks
'type' => 'export',
'application' => 'timesheet'
));
$options = array();
$options = array(
'~nextmatch~' => lang('No definition')
);
foreach ((array)$definitions->get_definitions() as $identifier)
{
try