Bug #2258
Strange code block for handling ajax requests in view.php
Start date:
October 28, 2015
Due date:
% Done:
100%
Estimated time:
Description
if (iaView::REQUEST_JSON == $iaView->getRequestType()) { $output = array('error' => true, 'message' => iaLanguage::get('invalid_parameters')); switch ($_POST['action']) { case 'callback': if ($listingId = (int)end($iaCore->requestPath)) { $listing = $iaAuto->getById($listingId); } break; } $iaView->assign($output); }
It seems this code block does nothing.
Check for references and remove if there aren't.
History
Updated by Vasily Bezruchkin about 5 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
I was going to implement an enquiry functionality through it. Removed.