Silly me!

This commit is contained in:
ArsenArsen 2017-06-06 13:06:41 +02:00
parent 4e928325da
commit aa0764aac5
1 changed files with 2 additions and 1 deletions

View File

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