From 40c9e03691fa763d7c7779cee8732ba21fc0bc8f Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Wed, 19 Feb 2014 16:54:03 +0100 Subject: [PATCH] Fixes option output in ACP user list --- wcfsetup/install/files/lib/acp/page/UserListPage.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wcfsetup/install/files/lib/acp/page/UserListPage.class.php b/wcfsetup/install/files/lib/acp/page/UserListPage.class.php index a9bfc05aa8..a38c4ed8ab 100755 --- a/wcfsetup/install/files/lib/acp/page/UserListPage.class.php +++ b/wcfsetup/install/files/lib/acp/page/UserListPage.class.php @@ -19,7 +19,7 @@ use wcf\util\StringUtil; * Shows the result of a user search. * * @author Marcel Werk - * @copyright 2001-2013 WoltLab GmbH + * @copyright 2001-2014 WoltLab GmbH * @license GNU Lesser General Public License * @package com.woltlab.wcf * @subpackage acp.page @@ -272,9 +272,9 @@ class UserListPage extends SortablePage { default: if (isset($this->options[$column])) { if ($this->options[$column]->outputClass) { - $this->options[$column]->setOptionValue($user); + $this->options[$column]->setOptionValue($user->getDecoratedObject()); $outputObj = $this->options[$column]->getOutputObject(); - $this->columnValues[$user->userID][$column] = $outputObj->getOutput($user, $this->options[$column]->getDecoratedObject(), $user->{$column}); + $this->columnValues[$user->userID][$column] = $outputObj->getOutput($user->getDecoratedObject(), $this->options[$column]->getDecoratedObject(), $user->{$column}); } else { $this->columnValues[$user->userID][$column] = StringUtil::encodeHTML($user->{$column}); -- 2.20.1