• Resolved Tema

    (@madeinua)


    Hi,

    The function relevanssi_create_database_tables() has a problem:
    – the incoming parameter $relevanssi_db_version is always integer
    – the function get_option( ‘relevanssi_db_version’ ) always returns a string
    – as the result the check $current_db_version === $relevanssi_db_version will never be true

    6 === ‘6’ in my case.

    I guess this need to be updated to:

    $current_db_version = (int) get_option( 'relevanssi_db_version' );

    Thanks

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Install issue’ is closed to new replies.