TDB2 & Task
- Fixed next_id handling in load_tasks.
- Removed unnecessary load in next_id.
- Added missing encode call.
index 8c0d2e9..3d1b7ce 100644
--- a/src/Task.cpp
+++ b/src/Task.cpp
@@ -528,7 +528,7 @@ std::string Task::composeF4 () const
{
ff4 += (first ? "" : " ")
+ it->first
- + ":\"" + json::encode (it->second) + "\"";
+ + ":\"" + encode (json::encode (it->second)) + "\"";
first = false;
}
}
This commit is contained in:
@@ -528,7 +528,7 @@ std::string Task::composeF4 () const
|
||||
{
|
||||
ff4 += (first ? "" : " ")
|
||||
+ it->first
|
||||
+ ":\"" + json::encode (it->second) + "\"";
|
||||
+ ":\"" + encode (json::encode (it->second)) + "\"";
|
||||
first = false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user