From 6fed8fb6b016736fa1d61805843c86282e5f4589 Mon Sep 17 00:00:00 2001 From: x2000habouzit Date: Mon, 26 Apr 2004 13:37:56 +0000 Subject: [PATCH] =?utf8?q?mise=20=E0=20jour=20du=20template=20de=20debug?= =?utf8?q?=20database=20p/r=20=E0=20la=20nvelle=20version=20de=20smarty?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- templates/database-debug.tpl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/templates/database-debug.tpl b/templates/database-debug.tpl index 0e68432..c146b0c 100644 --- a/templates/database-debug.tpl +++ b/templates/database-debug.tpl @@ -21,15 +21,17 @@ {if $query.explain} - {foreach key=key item=item from=$query.explain} + {foreach key=key item=item from=$query.explain[0]} {/foreach} + {foreach item=explain_row from=$query.explain} - {foreach item=item from=$query.explain} + {foreach item=item from=$explain_row} {/foreach} + {/foreach}
{$key}
{$item}
{/if} {/foreach} -- 2.1.4