1
0

better empty message, based to constant NONE

This commit is contained in:
Ian
2012-12-08 10:03:53 +01:00
parent 5d5faddaa2
commit af2c7efa21
3 changed files with 5 additions and 5 deletions

View File

@ -140,8 +140,8 @@
</li>
{/foreach}
</ol>
{if (!is_array($items) || empty($order_id))}
{$none}
{if isset($no_sequence)}
{$no_sequence}
{/if}
</fieldset>
{*** Smarty 3 has a new auto literal option which is enabled by default.

View File

@ -162,8 +162,8 @@
</li>
{/foreach}
</ol>
{if (!is_array($items) || empty($order_id))}
{$none}
{if isset($no_sequence)}
{$no_sequence}
{/if}
{*** Smarty 3 has a new auto literal option which is enabled by default.
When the { is surrounded by whitespace it is not interpreted as smarty delimiter but literal. e.g. ' } ;'