mirror of
https://github.com/magicbug/Cloudlog
synced 2026-08-13 17:49:35 -04:00
Replace string-quoted station_id lists with comma-separated, integer-casted lists and harden SQL across awards models. This diff converts constructions like "'a','b'" to implode(',', array_map('intval', ...)) and uses $this->db->escape_str() for band/mode values and band lists to reduce injection/format issues. Added helper methods (addModeToQuery, addBandToQuery variants) to centralize mode/band filtering, parameterized time/mode/band queries in Gmdxsummer_model, and escaped band arrays when building IN() lists. Also added null/empty-checks for logbook arrays in several models and small refactors (e.g. VUCC addBandToQuery) to keep SQL building consistent.
|
||
|---|---|---|
| .. | ||
| config | ||
| controllers | ||
| core | ||
| helpers | ||
| hooks | ||
| language | ||
| libraries | ||
| logs | ||
| migrations | ||
| models | ||
| plugins | ||
| third_party | ||
| views | ||
| .htaccess | ||
| index.html | ||