alsmanager_lib 2.0.39 → 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.
- package/lib/modules.js +1 -1
- package/package.json +1 -1
package/lib/modules.js
CHANGED
|
@@ -7961,7 +7961,7 @@ 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 =
|
|
7964
|
+
query += " and sd.id_place = :id_place";
|
|
7965
7965
|
if (piano) {
|
|
7966
7966
|
query += " and s.floor = :piano";
|
|
7967
7967
|
}
|