diff --git a/public/templates/mpos/master.tpl b/public/templates/mpos/master.tpl index 1e9c4409..2df06f75 100644 --- a/public/templates/mpos/master.tpl +++ b/public/templates/mpos/master.tpl @@ -51,7 +51,13 @@

{$smarty.session.POPUP[popup].CONTENT}

{/section} {/if} - {if $CONTENT != "empty" or $CONTENT != ""}{if file_exists($smarty.current_dir|cat:"/$PAGE/$ACTION/$CONTENT")}{include file="$PAGE/$ACTION/$CONTENT"}{else}Missing template for this page{/if}{/if} + {if $CONTENT != "empty" && $CONTENT != ""} + {if file_exists($smarty.current_dir|cat:"/$PAGE/$ACTION/$CONTENT")} + {include file="$PAGE/$ACTION/$CONTENT"} + {else} + Missing template for this page + {/if} + {/if}