listGet was not meant for that really
This commit is contained in:
parent
8ef2abf30b
commit
fbcca62ae1
@ -26,7 +26,8 @@ class IpregistrationsAction extends ManagedAction
|
|||||||
public function showContent()
|
public function showContent()
|
||||||
{
|
{
|
||||||
$this->elementStart('ul');
|
$this->elementStart('ul');
|
||||||
foreach (Profile::listGet('id', $this->profile_ids) as $profile) {
|
$profile = Profile::multiGet('id', $this->profile_ids);
|
||||||
|
while ($profile->fetch()) {
|
||||||
$this->elementStart('li');
|
$this->elementStart('li');
|
||||||
try {
|
try {
|
||||||
$this->element('a', ['href'=>$profile->getUrl()], $profile->getFancyName());
|
$this->element('a', ['href'=>$profile->getUrl()], $profile->getFancyName());
|
||||||
|
Loading…
Reference in New Issue
Block a user