Skip to content

Commit d1ba82f

Browse files
committed
Fix regex
1 parent e947476 commit d1ba82f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DB_Command.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1881,7 +1881,7 @@ protected function get_current_sql_modes( $assoc_args ) {
18811881
$modes = array_filter(
18821882
array_map(
18831883
'trim',
1884-
preg_split( "/\r\n|\n|\r/|,", $stdout )
1884+
preg_split( "/\r\n|\n|\r|,/", $stdout )
18851885
)
18861886
);
18871887
}

0 commit comments

Comments
 (0)