diff options
author | ramon <ramongomez@us.es> | 2016-05-13 16:34:33 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2016-05-13 16:34:33 +0000 |
commit | b5022791abb15fe9b1c8d29411bf37ddc7548bd7 (patch) | |
tree | 30284afcdd7421ab3a57478a8113ed7656037590 | |
parent | 24df599aa94a02ef60491020efb2fa6a8aa2a7ac (diff) |
#713 #743: Corregir erratas de revisiones r4906 y r4927.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@4929 a21b9725-9963-47de-94b9-378ad31fedc9
-rw-r--r-- | sources/ogAdmServer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/ogAdmServer.cpp b/sources/ogAdmServer.cpp index 853a733..187a533 100644 --- a/sources/ogAdmServer.cpp +++ b/sources/ogAdmServer.cpp @@ -747,7 +747,7 @@ BOOLEAN actualizaConfiguracion(Database db, Table tbl, char* cfg, int ido) if (strlen(ser) > 0) { // Solo actualizar si número de serie no existía. sprintf(sqlstr, "UPDATE ordenadores SET numserie='%s'" - " WHERE idordenador=%d AND numserie=''", + " WHERE idordenador=%d AND numserie IS NULL", ser, ido); if (!db.Execute(sqlstr, tbl)) { // Error al insertar db.GetErrorErrStr(msglog); |