diff --git a/cpp/web_server.cpp b/cpp/web_server.cpp index 2643100..ab3224d 100644 --- a/cpp/web_server.cpp +++ b/cpp/web_server.cpp @@ -560,7 +560,7 @@ bool WebServer::start_server(quint16 port) { } item[job_name + "_class"] = css_class; - item[job_name + "_id"] = std::to_string(r->id); + item[job_name + "_id"] = std::to_string(t->id); } else { item[job_name + "_class"] = ""; item[job_name + "_id"] = "";