Severity: Notice
Message: Undefined index: cityId
Filename: views/v_units.php
Line Number: 165
Backtrace:
File: /home/sinisadm/public_html/application/modules/Template/views/v_units.php Line: 165 Function: _error_handler
File: /home/sinisadm/public_html/application/third_party/MX/Loader.php Line: 365 Function: include
File: /home/sinisadm/public_html/application/third_party/MX/Loader.php Line: 307 Function: _ci_load
File: /home/sinisadm/public_html/application/modules/Template/controllers/Template.php Line: 96 Function: view
File: /home/sinisadm/public_html/application/modules/Accomodation/controllers/Units.php Line: 32 Function: units_template
File: /home/sinisadm/public_html/index.php Line: 316 Function: require_once
SELECT `u`.*FROM `app_aobject` `o`JOIN `sif_cities` `c` ON `c`.`cityId` = `o`.`cityId`JOIN `app_aunit` `u` ON `u`.`objectId` = `o`.`aObjectId`WHERE `regionId` = '4' AND NOT EXISTS (SELECT 1 FROM app_booking ab WHERE u.aUnitId = ab.aUnitId and ((fromDate >= '' and fromDate <= '') or (toDate >= '' and toDate <= '')))
SELECT * FROM sif_regions where regionId in (select regionId from app_aobject a inner join sif_cities c on a.cityId = c.cityId);
SELECT * FROM sif_cities where cityId in (select cityId from app_aobject);
SELECT * FROM sif_islands where islandId in (select islandId from app_aobject);
SELECT *FROM `app_unit_types`WHERE `active` = 1