summaryrefslogtreecommitdiff
path: root/templates/edit_content_status_inc.tpl
diff options
context:
space:
mode:
authorlsces <lester@lsces.co.uk>2026-03-27 16:11:01 +0000
committerlsces <lester@lsces.co.uk>2026-03-27 16:11:01 +0000
commitcb8a70fed8e6667a3b6f61e090786b6cd2f67216 (patch)
tree0b07a945fc28350b70981be89ae7df924ca04482 /templates/edit_content_status_inc.tpl
parentc8bec0f289beac93a88fe41408d1958d9232244d (diff)
downloadliberty-cb8a70fed8e6667a3b6f61e090786b6cd2f67216.tar.gz
liberty-cb8a70fed8e6667a3b6f61e090786b6cd2f67216.tar.bz2
liberty-cb8a70fed8e6667a3b6f61e090786b6cd2f67216.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.
Diffstat (limited to 'templates/edit_content_status_inc.tpl')
-rwxr-xr-xtemplates/edit_content_status_inc.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/edit_content_status_inc.tpl b/templates/edit_content_status_inc.tpl
index ac72340..5d9651c 100755
--- a/templates/edit_content_status_inc.tpl
+++ b/templates/edit_content_status_inc.tpl
@@ -1,7 +1,7 @@
{if $gBitSystem->isFeatureActive( 'liberty_display_status' ) and
$gBitSystem->isFeatureActive( 'liberty_display_status_menu' ) and
$gContent->getAvailableContentStatuses() &&
- ($gBitUser->hasPermission('p_liberty_edit_content_status') or $gBitUser->hasPermission('p_liberty_edit_all_status'))
+ ($gBitUser->hasPermission('p_liberty_edit_content_status') || $gBitUser->hasPermission('p_liberty_edit_all_status'))
}
<div class="form-group">
{formlabel label="Status" for="content_status_id"}