Mateusz Morawski
unread,Aug 23, 2010, 10:33:49 AM8/23/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Open Source CAD - Dev
The badge id can either contain hyphen prefix or not. When badge id
doesn't contain hyphen it works only without it. I tested it manually
by sending get request over HTTP. Therefore you should not enforce
hyphen within logic of tickets application.
I discovered 2 places where google latitude logic is used:
1. latitude.php, funcion do_galt($user);
2. functions.inc.php, function do_glat();
In the first case the $user value is taken straight from the input
textbox and is not transformed while in the second case the hyphen
prefix is enforced:
$hyphen = (substr ($row['callsign'] , 0 , 1)=="-")? "" : "-"; //
force 12/13/09
The basic fix is to set $hyphen variable to ""
--
Regard,
Mateusz Morawski