Skip to content

Commit

Permalink
Fixed typo in array
Browse files Browse the repository at this point in the history
  • Loading branch information
edsonsantoro committed Jul 16, 2024
1 parent ecb4704 commit a3b2432
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions admin/class-wpmu-client-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -1263,11 +1263,11 @@ public function copy_gen_forms_files( string $status ) {
}

$copied = [
'index' => copy( $forms_folder . 'index.php', $export_path . '/gen_forms_submit/index.php' );
'PHPMailer' => copy( $forms_folder . 'PHPMailer.php', $export_path . '/gen_forms_submit/PHPMailer.php' );
'SMTP' => copy( $forms_folder . 'SMTP.php', $export_path . '/gen_forms_submit/SMTP.php' );
'submit' => copy( $forms_folder . 'submit.php', $export_path . '/gen_forms_submit/submit.php' );
'config' => copy( $forms_folder . 'config.php', $export_path . '/gen_forms_submit/config.php' );
'index' => copy( $forms_folder . 'index.php', $export_path . '/gen_forms_submit/index.php' ),
'PHPMailer' => copy( $forms_folder . 'PHPMailer.php', $export_path . '/gen_forms_submit/PHPMailer.php' ),
'SMTP' => copy( $forms_folder . 'SMTP.php', $export_path . '/gen_forms_submit/SMTP.php' ),
'submit' => copy( $forms_folder . 'submit.php', $export_path . '/gen_forms_submit/submit.php' ),
'config' => copy( $forms_folder . 'config.php', $export_path . '/gen_forms_submit/config.php' )
];

if( in_array( false, $copied ) ) {
Expand Down

0 comments on commit a3b2432

Please sign in to comment.