1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

Fixes for MySQL not allowing IN() query with empty array, #4157

This commit is contained in:
Ylian Saint-Hilaire 2022-06-24 11:12:43 -07:00
parent 1a5d1e11af
commit e445469579
3 changed files with 30 additions and 18 deletions

View file

@ -696,7 +696,7 @@ module.exports.CreateMeshUser = function (parent, db, ws, req, args, domain, use
// Request a list of all nodes
db.GetAllTypeNoTypeFieldMeshFiltered(links, extraids, domain.id, 'node', command.id, function (err, docs) {
//console.log(docs);
//console.log(err, docs);
if (docs == null) { docs = []; }
parent.common.unEscapeAllLinksFieldName(docs);