From c58062b7e2f27ab2f891006b055a85094f15b41c Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Tue, 25 Jul 2017 19:17:23 +0200 Subject: [PATCH] Fix account data output --- Theme/Backend/profile-list.tpl.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Theme/Backend/profile-list.tpl.php b/Theme/Backend/profile-list.tpl.php index 84a6b9d..a96e04e 100644 --- a/Theme/Backend/profile-list.tpl.php +++ b/Theme/Backend/profile-list.tpl.php @@ -39,11 +39,11 @@ $accounts = $this->getData('accounts'); render(); ?> $account) : $count++; - $url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/profile/single?{?}&id=' . $account->getId()); ?> + $url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/profile/single?{?}&id=' . $account->getAccount()->getId()); ?> - getId(), ENT_COMPAT, 'utf-8'); ?> - getName3() . ' ' . $account->getName2() . ' ' . $account->getName1(), ENT_COMPAT, 'utf-8'); ?> - getLastActive()->format('Y-m-d'), ENT_COMPAT, 'utf-8'); ?> + getAccount()->getId(), ENT_COMPAT, 'utf-8'); ?> + getAccount()->getName3() . ' ' . $account->getAccount()->getName2() . ' ' . $account->getAccount()->getName1(), ENT_COMPAT, 'utf-8'); ?> + getAccount()->getLastActive()->format('Y-m-d'), ENT_COMPAT, 'utf-8'); ?> getHtml('Empty', 0, 0); ?>