﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,appname,phpversion,exts,sapi,probability,blockedby,blocking
218,[patch] Support for arrays in xcache-admin,laurentb,moo,"XCache supports caching arrays, however it crashes the web-based admin when you try to view one.

Here is a very simple fix that won't change the display for string variables.

{{{
Index: xcache-admin/edit.tpl.php
===================================================================
--- xcache-admin/edit.tpl.php
+++ xcache-admin/edit.tpl.php
@@ -1,7 +1,7 @@
 <?php include(""header.tpl.php""); ?>
 <?php
 $h_name = htmlspecialchars($name);
-$h_value = htmlspecialchars($value);
+$h_value = is_string($value) ? htmlspecialchars($value) : htmlspecialchars(var_export($value, true));
 ?>
 <form method=""post"" action="""">
 	<fieldset>

}}}
",defect,closed,minor,1.3.0,admin,1.2.1,fixed,,,,,,Irrelevant,Always,,
