We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
$col_values
1 parent 22270f4 commit 2d27f0dCopy full SHA for 2d27f0d
lib/cli/table/Ascii.php
@@ -180,7 +180,7 @@ public function row( array $row ) {
180
$row_values = array();
181
$has_more = false;
182
foreach( $extra_rows as $col => &$col_values ) {
183
- $row_values[ $col ] = array_shift( $col_values );
+ $row_values[ $col ] = ! empty( $col_values ) ? array_shift( $col_values ) : '';
184
if ( count( $col_values ) ) {
185
$has_more = true;
186
}
0 commit comments