Plugin Directory

Changeset 3169225


Ignore:
Timestamp:
10/15/2024 11:36:18 AM (18 months ago)
Author:
melioze
Message:

fix update database

Location:
my-easy-compta
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • my-easy-compta/tags/1.2.4/my-easy-compta.php

    r3169216 r3169225  
    337337    {
    338338        $installed_db_version = get_option('ecwp_db_version', '1.0.0');
    339         if ($this->version_migration_db == true) {
     339        if ($this->version_migration_db == true || version_compare('installed_db_version', '1.2.3', '<')) {
    340340            if (version_compare($installed_db_version, $this->version, '<')) {
    341341                echo '<div class="notice notice-warning is-dismissible">
  • my-easy-compta/trunk/my-easy-compta.php

    r3169216 r3169225  
    337337    {
    338338        $installed_db_version = get_option('ecwp_db_version', '1.0.0');
    339         if ($this->version_migration_db == true) {
     339        if ($this->version_migration_db == true || version_compare('installed_db_version', '1.2.3', '<')) {
    340340            if (version_compare($installed_db_version, $this->version, '<')) {
    341341                echo '<div class="notice notice-warning is-dismissible">
Note: See TracChangeset for help on using the changeset viewer.