Skip to content

Commit dec1dfe

Browse files
committed
Fix: Use = instead of .= to avoid "null" prefix
1 parent 78de4bc commit dec1dfe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/wp-admin/includes/class-wp-automatic-updater.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1849,7 +1849,7 @@ protected function has_fatal_error() {
18491849
$lines = array_reverse( file( WP_CONTENT_DIR . '/debug.log', FILE_IGNORE_NEW_LINES ) );
18501850
foreach ( $lines as $line ) {
18511851
if ( strpos( $line, 'PHP Fatal error' ) !== false ) {
1852-
$fatal_error .= trim( $line );
1852+
$fatal_error = trim( $line );
18531853
break;
18541854
}
18551855
}

0 commit comments

Comments
 (0)