diff options
Diffstat (limited to 'src/components/application_manager/src/commands/command_request_impl.cc')
-rw-r--r-- | src/components/application_manager/src/commands/command_request_impl.cc | 5 |
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 d283c648a9..92098935fe 100644 --- a/src/components/application_manager/src/commands/command_request_impl.cc +++ b/src/components/application_manager/src/commands/command_request_impl.cc @@ -611,7 +611,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); } |