Project

General

Profile

Revision 3a832cbc

Added by Jocelyn Delande about 10 years ago

Added sanity checks

View differences:

ajax/add_reference.php
15 15
  $vals = $validator->sane_values();
16 16

  
17 17
  // temp test code
18
  $pano = site_point::get($vals['panorama']);
18
  $pano = site_point::get(urldecode($vals['panorama']));
19 19

  
20 20
  $ref_point_name = urldecode($vals['ref_point']);
21 21
  $ref_point = RefPoint::get($ref_point_name);

Also available in: Unified diff