Important security update, please update to Osclass 3.7.4
At Osclass we have changed our Privacy Policy and Terms of Use in order to adapt them to the new General Data Protection Regulation (GDPR). We want you to know what user data we store, what we need them for, and who we share them with in each specific case. Furthermore, we are making it even easier for you to exercise your right to manage your own data.
Our goal is that you enjoy the best possible experience with our website. As the GDPR comes into force, legislation requires us that you grant us permission—both to us and our partners—to store cookies in your browser. Remember you can find more information about what we do with your data by clicking here.
I accept Osclass SL’s Terms of Use and Cookies Policy and grant them permission to manage my data.
I'm spending my time (that i don't have) to SHARE some information with others. If you have something to SHARE with others, please do. Otherwise please stand aside and just read.
Judging by your post counts it seems you have a lot of time on your hands.
Weird... That code in controller/ajax.php:Code: [Select] case 'location': // This is the autocomplete AJAX $cities = City::newInstance()->ajax(Params::getParam("term")); foreach($cities as $k => $city) { $cities[$k]['label'] = $city['label']." (".$city['region'].")"; } echo json_encode($cities); break;If it's being reached is because something on the frontside is triggering it. Might be something more hidden like User profile. Look in all your themes scripts for:Code: [Select].autocomplete(Regards
case 'location': // This is the autocomplete AJAX $cities = City::newInstance()->ajax(Params::getParam("term")); foreach($cities as $k => $city) { $cities[$k]['label'] = $city['label']." (".$city['region'].")"; } echo json_encode($cities); break;
.autocomplete(