Fix selecting only certain records, broken by r47527

This commit is contained in:
Nathan Gray 2014-07-08 17:33:21 +00:00
parent b7a6e53163
commit 15926a315f

View File

@ -53,7 +53,7 @@ class importexport_export_ui {
$_definition = $_content['definition'] ? $_content['definition'] : $_GET['definition'];
$_plugin = $_content['plugin'] ? $_content['plugin'] : $_GET['plugin'];
// Select all from context menu, means use all search results, not just selected
if($_GET['select_all']) $_GET['selection'] = 'search';
if($_GET['select_all'] == 'true') $_GET['selection'] = 'search';
$_selection = $_content['selection'] ? $_content['selection'] : $_GET['selection'];
if($_GET['selection'] || $_content['selection_passed']) $content['selection_passed'] = $preserv['selection_passed'] = true;