1
0
Fork 0
mirror of synced 2025-04-06 07:13:33 +03:00

feature/online-consultant psr2 restailing

This commit is contained in:
Sergey Chazov 2020-08-05 11:19:13 +03:00
parent 71a51e2f9b
commit b24325fb67

View file

@ -573,6 +573,7 @@ abstract class WC_Retailcrm_Abstracts_Settings extends WC_Integration
public function validate_online_assistant_field($key, $value)
{
$onlineAssistant = $_POST['woocommerce_integration-retailcrm_online_assistant'];
if (!empty($onlineAssistant) && is_string($onlineAssistant)) {
return wp_unslash($onlineAssistant);
}