Permalink
Browse files

- Use json_encode consistently

  • Loading branch information...
1 parent fc9e56e commit 2f1dffae129f7b57bede84cea0666640fed5994b David Coallier committed Jul 9, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/frapi/library/Frapi/Output/XML.php
@@ -70,7 +70,7 @@ public function populateOutput($data, $customTemplate = false)
$xml = '';
- $print = hash('md5', serialize($data));
+ $print = hash('md5', json_encode($data));
if ($response = Frapi_Internal::getCached($print)) {
$this->response = json_decode($response);

0 comments on commit 2f1dffa

Please sign in to comment.