Skip to content

Commit 44bd90a

Browse files
authored
Update src/Command.php
1 parent a23e1be commit 44bd90a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ public function queries( $args, $assoc_args ) {
597597
// Normalize callback for comparison
598598
$normalized_callback = trim((string) $logger->callback);
599599
$normalized_filter = trim($callback);
600-
if ( false === stripos( $normalized_callback, $normalized_filter ) ) {
600+
if ( 0 !== strcasecmp( $normalized_callback, $normalized_filter ) ) {
601601
continue;
602602
}
603603
}

0 commit comments

Comments
 (0)