Plugin Directory

Changeset 2506734


Ignore:
Timestamp:
03/31/2021 01:07:54 PM (5 years ago)
Author:
dragosmicu
Message:

Minor bug fix.

Location:
wootomation/trunk
Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • wootomation/trunk/includes/class-train.php

    r2505880 r2506734  
    210210                    'product_id' => $product_id
    211211                ),
    212                 array('%d','%s','%d'),
     212                array('%d','%s','%d')
    213213            );
    214214        }
     
    219219        $recID = $wpdb->get_var( "SELECT id FROM ".($wpdb->prefix . 'wootomation_suggestions')." WHERE product_1 LIKE ".$product_1." AND product_2 LIKE ".$product_2);
    220220        if( $recID ){
    221          $wpdb->update(
    222              $wpdb->prefix.'wootomation_suggestions',
    223              array(
    224                  'similarity' => $similarity
    225              ),
    226              array(
    227                  'id' => $recID,
    228              ),
    229              array('%f'),
    230              array('%d'),
    231          );
     221            $wpdb->update(
     222                $wpdb->prefix.'wootomation_suggestions',
     223                array(
     224                    'similarity' => $similarity
     225                ),
     226                array(
     227                    'id' => $recID,
     228                ),
     229                array('%f'),
     230                array('%d')
     231            );
    232232        } else {
    233233            $wpdb->insert(
     
    238238                    'similarity' => $similarity
    239239                ),
    240                 array('%d','%d','%f'),
     240                array('%d','%d','%f')
    241241            );
    242242        }
  • wootomation/trunk/readme.txt

    r2505831 r2506734  
    45452. Storefront example
    46463. Backend options
     47
     48== Changelog ==
     49
     50= 2.0.2 =
     51* Fixed minor bugs.
     52
     53= 2.0.1 =
     54* Fixed minor bugs.
    4755
    4856== Changelog ==
  • wootomation/trunk/wootomation.php

    r2505880 r2506734  
    44 * Plugin URI: https://wpharvest.com/
    55 * Description: 🤖 Increase the sales of your WooCommerce shop by suggesting the right products to your customers, with the help of Machine Learning Artificial Intelligence. To take advantage of its power, just install and activate, it works out of the box.
    6  * Version: 2.0.1
    7  * Stable tag: 2.0.1
     6 * Version: 2.0.2
     7 * Stable tag: 2.0.2
    88 * Author: Dragos Micu
    99 * Author URI: https://wpharvest.com/
Note: See TracChangeset for help on using the changeset viewer.