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:
parent
1a5d1e11af
commit
e445469579
3 changed files with 30 additions and 18 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue