Skip to:
Content

bbPress.org

Ticket #2733: converter.php-replace-is_null.diff

File converter.php-replace-is_null.diff, 756 bytes (added by Offereins, 12 years ago)

Replace is_null with isset

  • src/includes/admin/converter.php

    abstract class BBP_Converter_Base {  
    10221022                                        // Loop through field map, again...
    10231023                                        foreach ( $this->field_map as $row ) {
    10241024
    1025                                                 // Types matchand to_fieldname is present. This means
     1025                                                // Types match and to_fieldname is present. This means
    10261026                                                // we have some work to do here.
    1027                                                 if ( ( $row['to_type'] == $to_type ) && ! is_null( $row['to_fieldname'] ) ) {
     1027                                                if ( ( $row['to_type'] == $to_type ) && isset( $row['to_fieldname'] ) ) {
    10281028
    10291029                                                        // This row has a destination that matches one of the
    10301030                                                        // columns in this table.