diff options
author | Ilya Zverev <zverik@textual.ru> | 2017-01-09 15:52:49 +0300 |
---|---|---|
committer | Ilya Zverev <zverik@textual.ru> | 2017-01-09 19:50:23 +0300 |
commit | cd9957126e9605b0232ccb30e11e5b555d62bcfa (patch) | |
tree | 160d4b2c00f8e8ffcda9f1ba102434eef9f5cccc /indexer/feature.cpp | |
parent | e84ceab2285811143a557ae19f9836b2d9f06c37 (diff) |
[editor] Fix banner_url and opentable editing
Diffstat (limited to 'indexer/feature.cpp')
-rw-r--r-- | indexer/feature.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indexer/feature.cpp b/indexer/feature.cpp index f36263f55f..84ecab623f 100644 --- a/indexer/feature.cpp +++ b/indexer/feature.cpp @@ -172,6 +172,8 @@ editor::XMLFeature FeatureType::ToXML(bool serializeType) const for (auto const type : m_metadata.GetPresentTypes()) { + if (m_metadata.IsSponsoredType(static_cast<Metadata::EType>(type))) + continue; auto const attributeName = DebugPrint(static_cast<Metadata::EType>(type)); feature.SetTagValue(attributeName, m_metadata.Get(type)); } |