From 552cac988c26359bcba12e627fb5b9f2a30ef6be Mon Sep 17 00:00:00 2001 From: Alec Smecher Date: Wed, 29 May 2024 18:30:50 -0700 Subject: [PATCH] Reduce Smarty warnings --- templates/controllers/grid/grid.tpl | 2 +- templates/controllers/listbuilder/listbuilderTable.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/controllers/grid/grid.tpl b/templates/controllers/grid/grid.tpl index 50d1f209fa9..def3a134afe 100644 --- a/templates/controllers/grid/grid.tpl +++ b/templates/controllers/grid/grid.tpl @@ -51,7 +51,7 @@ {if $column->hasFlag('alignment')} {assign var=alignment value=$column->getFlag('alignment')} {else} - {assign var=alignment value=\PKP\controllers\grid\GridColumn::COLUMN_ALIGNMENT_LEFT} + {assign var=alignment value=PKP\controllers\grid\GridColumn::COLUMN_ALIGNMENT_LEFT} {/if} {$column->getLocalizedTitle()} diff --git a/templates/controllers/listbuilder/listbuilderTable.tpl b/templates/controllers/listbuilder/listbuilderTable.tpl index 321ab257167..7b779c68422 100644 --- a/templates/controllers/listbuilder/listbuilderTable.tpl +++ b/templates/controllers/listbuilder/listbuilderTable.tpl @@ -17,7 +17,7 @@ {if $column->hasFlag('alignment')} {assign var=alignment value=$column->getFlag('alignment')} {else} - {assign var=alignment value=\PKP\controllers\grid\GridColumn::COLUMN_ALIGNMENT_LEFT} + {assign var=alignment value=PKP\controllers\grid\GridColumn::COLUMN_ALIGNMENT_LEFT} {/if} {$column->getLocalizedTitle()|escape}