summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/components/application_manager/src/commands/command_request_impl.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/components/application_manager/src/commands/command_request_impl.cc b/src/components/application_manager/src/commands/command_request_impl.cc
index 4c78231f94..7b7452dc77 100644
--- a/src/components/application_manager/src/commands/command_request_impl.cc
+++ b/src/components/application_manager/src/commands/command_request_impl.cc
@@ -624,7 +624,10 @@ bool CommandRequestImpl::CheckAllowedParameters() {
smart_objects::SmartMap::const_iterator iter_end = s_map.map_end();
for (; iter != iter_end; ++iter) {
- if (iter->second.asBool()) {
+ if (helpers::Compare<smart_objects::SmartType, helpers::NEQ, helpers::ALL>(
+ iter->second.getType(),
+ smart_objects::SmartType_Null,
+ smart_objects::SmartType_Invalid)) {
LOG4CXX_DEBUG(logger_, "Request's param: " << iter->first);
params.insert(iter->first);
}