alsmanager_lib 2.0.38 → 2.0.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/modules.js +2 -2
  2. package/package.json +1 -1
package/lib/modules.js CHANGED
@@ -7961,9 +7961,9 @@ function queryFunzioneByPlaceAndFloorMySQL(id_place, piano) {
7961
7961
  query += " JOIN sites s ON s.id = sd.id_site"
7962
7962
  if (id_place) {
7963
7963
  query += " where CURDATE() >= sd.date_start and CURDATE() <= sd.date_end";
7964
- query += " and sd.id_place = ':id_place'";
7964
+ query += " and sd.id_place = :id_place";
7965
7965
  if (piano) {
7966
- query += " and s.floor = ':piano'";
7966
+ query += " and s.floor = :piano";
7967
7967
  }
7968
7968
  }
7969
7969
  query += " order by funzione";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "alsmanager_lib",
3
- "version": "2.0.38",
3
+ "version": "2.0.40",
4
4
  "description": "Funzioni per ALSManager",
5
5
  "license": "ISC",
6
6
  "author": "Luca Cattani",