[bug] Invoice column always shown
-
The Invoice No. column is always displayed, even when I disable the option on the settings page.
This is because of the following code:
if ( ! isset( $general_settings['bewpi_invoice_number_column'] ) ) {
$general_settings['bewpi_invoice_number_column']
is equal to"0"
and as suchisset()
fails.The following code makes it work:
if ( empty( $general_settings['bewpi_invoice_number_column'] ) ) {
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘[bug] Invoice column always shown’ is closed to new replies.