Commit d29560a2 authored by jan.koester's avatar jan.koester
Browse files

rarw

parent 32baac62
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1682,8 +1682,8 @@ std::cerr << "DEBUG: authid=" << authid << " currentAuthor=" << currentAuthor <<
                        json_object_array_add(jcells, json_object_new_string(cres[i][4] ? cres[i][4] : ""));
                        json_object_array_add(jcells, json_object_new_string(cres[i][5] ? cres[i][5] : ""));

                        bool isApproved = cres[i][6] && std::string(cres[i][6]) == "t";
                        bool isVerified = cres[i][7] && std::string(cres[i][7]) == "t";
                        bool isApproved = cres[i][6] && (std::string(cres[i][6]) == "t" || std::string(cres[i][6]) == "true" || std::string(cres[i][6]) == "1");
                        bool isVerified = cres[i][7] && (std::string(cres[i][7]) == "t" || std::string(cres[i][7]) == "true" || std::string(cres[i][7]) == "1");
                        std::string status;
                        if(isApproved)
                            status = tr(_lang,"Approved");