Fix author name search field default

This commit is contained in:
Tetrakern 2024-04-26 12:32:01 +02:00
parent fa3dab221d
commit 37a74a98f4

View File

@ -54,7 +54,7 @@ if ( $show_advanced ) {
$queried_authors_in = sanitize_text_field( $_GET['authors'] ?? 0 );
$queried_authors_out = sanitize_text_field( $_GET['ex_authors'] ?? 0 );
$author_name = sanitize_text_field( $_GET['author_name'] ?? 0 ); // Simple text field
$author_name = sanitize_text_field( $_GET['author_name'] ?? '' ); // Simple text field
$all_tags = get_tags();
$all_genres = get_tags( array( 'taxonomy' => 'fcn_genre' ) );