feature/online-consultant: code styling for psr2 - attempt two
This commit is contained in:
parent
70f55e8701
commit
48f28c7400
1 changed files with 1 additions and 2 deletions
|
@ -573,8 +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)){
|
||||
|
||||
if (!empty($onlineAssistant) && is_string($onlineAssistant)) {
|
||||
return wp_unslash($onlineAssistant);
|
||||
}
|
||||
return '';
|
||||
|
|
Loading…
Add table
Reference in a new issue