[Fusionforge-general] [Fusionforge-commits] FusionForge branch Branch_5_2 updated. 1ac3d4a717839fd20a144cb55a18a837634469db

Franck Villaume franck.villaume at trivialdev.com
Mon Mar 4 20:40:39 CET 2013


Le 04/03/2013 09:36, Thorsten Glaser a écrit :
> On Sun, 3 Mar 2013, Franck VILLAUME wrote:
>
>>   			case "json": {
>> +					$returnString .= '\''.util_html_secure(addslashes($text_array[$i]).'\':'.$id_array[$i].',';
> 							   ^						     ^
> This is *so* not JSON. How about this patch instead?
> If the values are integral, change:
> +					$state_values[$stateArr['name']] = $stateArr['stateid'];
> to:
> +					$state_values[$stateArr['name']] = (int)$stateArr['stateid'];
>
> bye,
> //mirabilos

Hi thorsten,

my first try does not work... but i'm interested to switch to minijson 
helper.
probably because i use the DocumentManager function to build javascript 
call and not as json answer.
maybe the fix could be remove json switch ...

+
franck aka nerville.


-- 
TrivialDev Founder
http://trivialdev.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: franck_villaume.vcf
Type: text/x-vcard
Size: 211 bytes
Desc: not available
URL: <http://lists.fusionforge.org/pipermail/fusionforge-general/attachments/20130304/23849ab0/attachment.vcf>


More information about the Fusionforge-general mailing list