Diff for Metafox/lib/HTML/Template/Platon.php between version 1.5 and 1.6
| version 1.5, 2017/06/09 15:05:11 |
version 1.6, 2019/11/01 10:17:31 |
| Line 207 class HTML_Template_Platon |
|
| Line 207 class HTML_Template_Platon |
|
| $type = HTML_TEMPLATE_PLATON_SET_VALUE) |
$type = HTML_TEMPLATE_PLATON_SET_VALUE) |
| { |
{ |
| if (is_array($key)) { |
if (is_array($key)) { |
| while (list($k, $v) = each($key)) { |
foreach ($key as $k => $v) { |
| if (! empty($k)) { |
if (! empty($k)) { |
| // Empty values are allowed. Empty keys are NOT. |
// Empty values are allowed. Empty keys are NOT. |
| $this->set($k, $v, $type); |
$this->set($k, $v, $type); |
Platon Group <platon@platon.org> http://platon.org/
|
|