diff options
Diffstat (limited to 'list_pages.php')
| -rwxr-xr-x | list_pages.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/list_pages.php b/list_pages.php index cdf907f..2154193 100755 --- a/list_pages.php +++ b/list_pages.php @@ -50,7 +50,7 @@ if( isset( $_REQUEST["batch_submit"] ) && isset( $_REQUEST["checked"] ) && $_REQ foreach( $_REQUEST["checked"] as $deletepage ) { $tmpPage = new BitPage( $deletepage ); if( !$tmpPage->load() || !$tmpPage->expunge() ) { - array_merge( $errors, array_values( $tmpPage->mErrors )); + [ ...$errors ?? [], ...array_values( $tmpPage->mErrors )]; } } if( !empty( $errors )) { |
