From 0fb21d58ad49f124bc757555311b4695fc3a9492 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20D?= Date: Thu, 26 May 2022 07:20:35 +0200 Subject: [PATCH 1/2] fix: Wrong variable syntax. Thanks to @riccimatic for the notice! MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rubén D --- .../web/themes/material-blue/views/account/search-rows.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/modules/web/themes/material-blue/views/account/search-rows.inc b/app/modules/web/themes/material-blue/views/account/search-rows.inc index 56d59292b..b1a598424 100644 --- a/app/modules/web/themes/material-blue/views/account/search-rows.inc +++ b/app/modules/web/themes/material-blue/views/account/search-rows.inc @@ -76,7 +76,7 @@ $favoriteRouteOff = $_getvar('favoriteRouteOff'); class="btn-action" data-action-route="" data-item-id="getId(); ?>" - data-onclick="account/view">getName(), ENT_QUOTES); ?> + data-onclick="account/view">getName(), ENT_QUOTES); ?>
getName(), ENT_QUOTES); ?> From e1f7374378adfacd4db06551d9c603d5147c1a3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20D?= Date: Thu, 26 May 2022 07:27:34 +0200 Subject: [PATCH 2/2] chore: Minor code tweaks. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rubén D --- app/modules/web/themes/material-blue/views/config/info.inc | 4 ++-- app/modules/web/themes/material-blue/views/config/wiki.inc | 2 +- .../web/themes/material-blue/views/eventlog/datagrid-rows.inc | 2 +- .../web/themes/material-blue/views/grid/datagrid-grid.inc | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/modules/web/themes/material-blue/views/config/info.inc b/app/modules/web/themes/material-blue/views/config/info.inc index 3e08c8de8..3a4e039c3 100644 --- a/app/modules/web/themes/material-blue/views/config/info.inc +++ b/app/modules/web/themes/material-blue/views/config/info.inc @@ -58,7 +58,7 @@
- +

@@ -73,7 +73,7 @@
- =')): ?> + = 50600): ?>
$value): ?> diff --git a/app/modules/web/themes/material-blue/views/config/wiki.inc b/app/modules/web/themes/material-blue/views/config/wiki.inc index 307488055..5e8f77c38 100644 --- a/app/modules/web/themes/material-blue/views/config/wiki.inc +++ b/app/modules/web/themes/material-blue/views/config/wiki.inc @@ -61,7 +61,7 @@ use SP\Mvc\View\Template;

- +

diff --git a/app/modules/web/themes/material-blue/views/eventlog/datagrid-rows.inc b/app/modules/web/themes/material-blue/views/eventlog/datagrid-rows.inc index d94a98ba4..e9ca0788e 100644 --- a/app/modules/web/themes/material-blue/views/eventlog/datagrid-rows.inc +++ b/app/modules/web/themes/material-blue/views/eventlog/datagrid-rows.inc @@ -22,7 +22,7 @@ $data = $_getvar('data'); getData()->getDataRowSources() as $rowSrc): ?> {$rowSrc['name']}() : $dataItem->{$rowSrc['name']}; ?> - + diff --git a/app/modules/web/themes/material-blue/views/grid/datagrid-grid.inc b/app/modules/web/themes/material-blue/views/grid/datagrid-grid.inc index f9f6820c1..7ca4084ee 100644 --- a/app/modules/web/themes/material-blue/views/grid/datagrid-grid.inc +++ b/app/modules/web/themes/material-blue/views/grid/datagrid-grid.inc @@ -19,7 +19,7 @@ if (!isset($data)) { $data = $_getvar('data'); } -$index = isset($index) ? $index : 0; +$index = $index ?? 0; ?>