mirror of
https://github.com/martinrotter/rssguard.git
synced 2024-12-27 08:33:27 +01:00
fix #422
This commit is contained in:
parent
02bfb3eed6
commit
c1dc8830d5
@ -79,7 +79,10 @@ DatabaseDriver* DatabaseFactory::driverForType(DatabaseDriver::DriverType d) con
|
||||
}
|
||||
|
||||
QString DatabaseFactory::escapeQuery(const QString& query) {
|
||||
return QString(query).replace(QSL("'"), QSL("''")).replace(QSL("\""), QSL("\\\""));
|
||||
return QString(query)
|
||||
.replace(QSL("'"), QSL("''"));
|
||||
|
||||
//.replace(QSL("\""), QSL("\\\""));
|
||||
}
|
||||
|
||||
DatabaseDriver::DriverType DatabaseFactory::activeDatabaseDriver() const {
|
||||
|
Loading…
Reference in New Issue
Block a user