Commit 31be21ae authored by Leon Do Castelo's avatar Leon Do Castelo
Browse files

Update autosql.cpp

parent baa16c63
......@@ -208,7 +208,7 @@ std::vector<QString> Database::getListeReseaux(const QString& name) const
{
QSqlQuery query(db);
query.prepare("SELECT id, nom FROM reseaux WHERE nom = ':nom'");
query.prepare("SELECT id, nom FROM reseaux WHERE automate = ':nom'");
query.bindValue(":nom", name);
query.exec();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment