Skip to content

Commit 13fffd9

Browse files
committed
Always compare uppercase values against keyword list
1 parent 5c4e0ed commit 13fffd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Search_Replace_Command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,7 @@ private static function is_reserved_sql_keyword( $value ) {
696696
$reserved_keywords = array_flip( $array );
697697
}
698698

699-
return array_key_exists( $value, $reserved_keywords );
699+
return array_key_exists( strtoupper( $value ), $reserved_keywords );
700700
}
701701

702702
/**

0 commit comments

Comments
 (0)