Ponce found a bug

This commit is contained in:
ArsenArsen 2017-06-05 13:12:12 +02:00
parent 7a27a0c6f4
commit 4e928325da
2 changed files with 3 additions and 2 deletions

@ -1 +1 @@
Subproject commit 9eace8fbbd8dede95db623eea5e25403fd59b490
Subproject commit 2578b69dc51e3786402777e650181c5735015e1a

View File

@ -173,7 +173,8 @@ QJsonObject recurseAndReplace(QJsonObject &body, QByteArray &data, QString conte
if (str.startsWith("/") && str.endsWith("/")) {
o.insert(s, str.replace("%image", data).replace("%contenttype", contentType));
}
}
} else
o.insert(s, v);
}
return o;
}