Plugin Directory

Changeset 2831060


Ignore:
Timestamp:
12/09/2022 10:22:15 AM (3 years ago)
Author:
pictureplanet
Message:

Patch 2.11.4
Bugfix: Person group insert query

Location:
verowa-connect
Files:
113 added
5 edited

Legend:

Unmodified
Added
Removed
  • verowa-connect/trunk/functions/person.php

    r2821633 r2831060  
    200200    global $wpdb;
    201201
    202     $str_persongroups_tablename = $wpdb->prefix . 'verowa_person_groups';
    203     $arr_pgroup_insert_formats = array('%d', '%s', '%s', '%s', '%d');
    204 
    205202    // Alles hashen. Mit dem Hash kann einfach geprüft werden ob etwas geändert wurde
    206203    $str_hash = verowa_person_group_generate_hash(
     
    219216            'deprecated' => 0,
    220217        ),
    221         array( '%d', '%d', '%s', '%s', '%s', '%s', '%d' )
     218        array( '%d', '%s', '%s', '%s', '%d' )
    222219    );
    223220}
  • verowa-connect/trunk/general/class_verowa_update_controller.php

    r2821652 r2831060  
    159159    }
    160160
    161    
     161
    162162    /**
    163163     *
     
    360360        }
    361361
    362         // Get list ids for events, could be that no assignment is available 
     362        // Get list ids for events, could be that no assignment is available
    363363        $str_list_ids = key_exists($single_event['event_id'], $this->arr_list_ids_for_event) ?
    364364            $this->arr_list_ids_for_event[$single_event['event_id']] : '';
    365        
     365
    366366        // Rewrite list ids, layer ids and target groups into the format ;1;2;3;.
    367367        $arr_ids = verowa_prepare_layer_list_target_group(
     
    504504            $all_required_person_data = $arr_ret_api_call['data'];
    505505            $str_person_hash = '';
    506            
     506
    507507            verowa_persons_set_deprecated();
    508508
     
    676676    public function update_or_insert_single_verowa_person( $int_person_id ) {
    677677        global $wpdb;
    678        
     678
    679679
    680680        if ( $int_person_id > 0 ) {
     
    10101010            case 4: // VC 2.11.3 (leer)
    10111011
     1012            case 5: // VC 2.11.4
     1013                $wpdb->query( 'UPDATE `' . $wpdb->prefix . 'verowa_person_groups` SET `hash` = \'\' WHERE `pgroup_id` > 0;' );
    10121014
    10131015        }
  • verowa-connect/trunk/includes/presets.php

    r2821652 r2831060  
    2121
    2222define( 'VEROWA_REPORTING_MAIL', 'reporting@verowa.ch' );
    23 define( 'VEROWA_CONNECT_DB_VERSION', '5' );
     23define( 'VEROWA_CONNECT_DB_VERSION', '6' );
    2424
    2525// CSS & JS version to for cache busting purposes
  • verowa-connect/trunk/readme.txt

    r2821633 r2831060  
    44Requires at least: 5.0
    55Tested up to: 6.0.3
    6 Stable tag: 2.11.3
     6Stable tag: 2.11.4
    77Requires PHP: 7.3
    88License: GPLv2 or later
     
    6767
    6868== Changelog ==
     69
     70= 2.11.4 =
     71Bugfix: Insert query for the groups of persons
    6972
    7073= 2.11.3 =
  • verowa-connect/trunk/verowa-connect.php

    r2821633 r2831060  
    55 * Description: Include your Verowa data seamlessly into your WordPress project!
    66 * Author: Picture-Planet GmbH
    7  * Version: 2.11.3
     7 * Version: 2.11.4
    88 * Requires at least: 5.2
    99 * Requires PHP: 7.3
Note: See TracChangeset for help on using the changeset viewer.