| @@ -1408,10 +1408,10 @@ | ||
| 1408 | 1408 | $device_suffix = Controls_Manager::get_responsive_control_device_suffix( $control ); |
| 1409 | 1409 | |
| 1410 | 1410 | $condition_name_to_check = $pure_condition_key . $device_suffix; |
| 1411 | 1411 | |
| 1412 | - // If the control is not desktop, take the value of the conditioning control of the corresponding device. | |
| 1413 | - $instance_value = $values[ $pure_condition_key . $device_suffix ]; | |
| 1412 | + // If the control is not desktop, and a conditioning control for the corresponding device exists, use it. | |
| 1413 | + $instance_value = $values[ $pure_condition_key . $device_suffix ] ?? $values[ $pure_condition_key ]; | |
| 1414 | 1414 | } else { |
| 1415 | 1415 | $instance_value = $values[ $pure_condition_key ]; |
| 1416 | 1416 | } |
| 1417 | 1417 | |