Fix for stupid loop

This commit is contained in:
botanic 2014-09-08 02:05:49 -07:00
parent eb6864f942
commit 03742bc483
2 changed files with 7 additions and 2 deletions

View file

@ -257,3 +257,6 @@ code/web/public_php/db_version_tool
code/web/public_php/db_version_web code/web/public_php/db_version_web
code/web/public_php/role_service code/web/public_php/role_service
code/web/public_php/role_support code/web/public_php/role_support
code/web/public_php/role_domain
code/web/public_php/db_version_ring
code/web/public_php/config_user.php

View file

@ -194,7 +194,8 @@
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{foreach from=$hook_info['Domain_Management']['domains'] item=array} {if isset($hook_info['Domain_Management']['domains'][0])}
{foreach from=$hook_info['Domain_Management']['domains'] item=array}
<tr> <tr>
<td>{$array['domain_id']}</td> <td>{$array['domain_id']}</td>
<td><a href="{$hook_info['Domain_Management']['path']}?page=layout_plugin&name=Domain_Management&edit_domain={$array['domain_id']}">{$array['domain_name']}</a></td> <td><a href="{$hook_info['Domain_Management']['path']}?page=layout_plugin&name=Domain_Management&edit_domain={$array['domain_id']}">{$array['domain_name']}</a></td>
@ -202,7 +203,8 @@
<td>{$array['patch_version']}</td> <td>{$array['patch_version']}</td>
<td>{$array['description']|truncate}</td> <td>{$array['description']|truncate}</td>
</tr> </tr>
{/foreach} {/foreach}
{/if}
</tbody> </tbody>
</table> </table>
{/if} {/if}