Skip to content

Cscart integration #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Nov 16, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ php-uni
=======
[![Build Status](https://travis-ci.org/CleanTalk/php-uni.svg)](https://travis-ci.org/CleanTalk/php-uni)

# Version 2.5
# Version 2.5.3

Module for any CMS
## Installation
Expand Down
5 changes: 2 additions & 3 deletions cleantalk/inc/common.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?php

define( 'CLEANTALK_INITIAL_INCLUDE_PATH', get_include_path() );
define('APBCT_PLUGIN', 'uni');
define('APBCT_VERSION', '2.5.2');
define('APBCT_VERSION', '2.5.3');
define('APBCT_AGENT', APBCT_PLUGIN . '-' . str_replace( '.', '', APBCT_VERSION ) );
define('APBCT_USER_AGENT', 'Cleantalk-Antispam-Universal-Plugin/' . APBCT_VERSION);

Expand All @@ -11,7 +10,7 @@ function apbct_set_include_path(){
}

function apbct_restore_include_path(){
set_include_path( CLEANTALK_INITIAL_INCLUDE_PATH );
set_include_path( get_include_path() );
}

$ds = DIRECTORY_SEPARATOR;
Expand Down
2 changes: 1 addition & 1 deletion cleantalk/inc/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ function apbct_get_fields_any($arr, $message=array(), $email = null, $nickname =
$message[$prev_key.$key] = $value;
}

}else if(!is_object($value)&&@get_class($value)!='WP_User'){
}else if(!is_object($value)){

$prev_key_original = $prev_key;
$prev_key = ($prev_key === '' ? $key.'_' : $prev_key.$key.'_');
Expand Down