Skip to content

Commit 3cf36d0

Browse files
committed
Remove extra '(select one)' in mapping strategy select
Commit 34b1e6d refactored the display_strategies() function to store strategies in an array, and looping over that to generate the select's options, but an echo statement printing the 'select_one' entry was left out. Fixes #238
1 parent e21b9e3 commit 3cf36d0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Source/pages/repo_manage_page.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ function display_strategies( $p_type=null ) {
1717
$t_strategies = array();
1818
if ( is_null( $p_type ) ) {
1919
$t_strategies[] = array( 0, 'select_one' );
20-
echo '<option value="0">', plugin_lang_get( 'select_one' ), '</option>';
2120
}
2221
$t_strategies[] = array( SOURCE_EXPLICIT, 'mapping_explicit' );
2322
if( !Source_PVM() ) {

0 commit comments

Comments
 (0)