Fixed JSON encoding bug

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@3292 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2011-02-11 14:48:03 +00:00
parent 6a5dd68cac
commit 3b149bf552
1 changed files with 1 additions and 1 deletions

View File

@ -2191,7 +2191,7 @@ function jsonEncode( &$value )
{
if ( $result != '{' )
$result .= ',';
$result .= '"'.jsonEncode( $subkey ).'":'.jsonEncode( $subvalue );
$result .= '"'.$subkey.'":'.jsonEncode( $subvalue );
}
return( $result.'}' );
}