Skip to content

Commit eb49dbc

Browse files
committed
fix output for user agent filter on settings page
1 parent be173c6 commit eb49dbc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

views/settings-page.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -457,9 +457,9 @@ function ( $a ) {
457457
<td>
458458
<textarea cols="40" rows="5" name="statifyblacklist[ua][blacklist]" id="statify-blacklist_ua"><?php
459459
if ( empty( $statifyblacklist_update_result['ua'] ) ) {
460-
print esc_html( implode( "\r\n", StatifyBlacklist::$options['ua']['blacklist'] ) );
460+
print esc_html( implode( "\r\n", array_keys( StatifyBlacklist::$options['ua']['blacklist'] ) ) );
461461
} else {
462-
print esc_html( implode( "\r\n", $statifyblacklist_update_result['ua']['sanitized'] ) );
462+
print esc_html( implode( "\r\n", array_keys( $statifyblacklist_update_result['ua']['sanitized'] ) ) );
463463
}
464464
?></textarea>
465465

0 commit comments

Comments
 (0)