summaryrefslogtreecommitdiff
path: root/src/kolabconversions.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kolabconversions.h')
-rw-r--r--src/kolabconversions.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kolabconversions.h b/src/kolabconversions.h
index daa9164..8e2050c 100644
--- a/src/kolabconversions.h
+++ b/src/kolabconversions.h
@@ -215,7 +215,7 @@ std::string serializeObject <Kolab::Configuration> (const Kolab::Configuration &
if (!relation.parent().empty()) {
n.parent(relation.parent());
}
- if (!relation.priority() != 0) {
+ if (relation.priority() != -1) {
n.priority(fromInt<KolabXSD::Configuration::priority_type>(relation.priority()));
}
BOOST_FOREACH(const std::string &s, relation.members()) {