summaryrefslogtreecommitdiff
path: root/templates/list_xref.tpl
diff options
context:
space:
mode:
authorlsces <lester@lsces.co.uk>2026-03-27 16:07:32 +0000
committerlsces <lester@lsces.co.uk>2026-03-27 16:07:32 +0000
commit72312119fe678d14b61e3c508db98a6dd0ee4ec0 (patch)
treec84b946956c2c1dc82ef1c63249d9bc942747af3 /templates/list_xref.tpl
parent8d7b90039e6459d3137bb274ccd1031b8abcbe6a (diff)
downloadcontact-72312119fe678d14b61e3c508db98a6dd0ee4ec0.tar.gz
contact-72312119fe678d14b61e3c508db98a6dd0ee4ec0.tar.bz2
contact-72312119fe678d14b61e3c508db98a6dd0ee4ec0.zip
Figured what has been causing a problem with using && and || in smarty templates and related to mistake in processing {2} elements that should use curly brackets and not revert to square ones.V5-php84
Diffstat (limited to 'templates/list_xref.tpl')
-rwxr-xr-xtemplates/list_xref.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/list_xref.tpl b/templates/list_xref.tpl
index 4f68f95..794f3ad 100755
--- a/templates/list_xref.tpl
+++ b/templates/list_xref.tpl
@@ -28,7 +28,7 @@
{$gContent->mInfo.xref[xref].data|escape}
</td>
<td>
- {if isset($gContent->mInfo.xref[xref].usn) and ($gContent->mInfo.xref[xref].usn <> '') }
+ {if isset($gContent->mInfo.xref[xref].usn) && ($gContent->mInfo.xref[xref].usn <> '') }
{$gContent->mInfo.xref[xref].usn|escape}
{smartlink ititle="Link to" ifile="../property/display_property.php" booticon="icon-note-edit" property_id=$gContent->mInfo.xref[xref].usn}
{/if}