Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

fix "undefined property: stdClass::$bgcolor" in users/profile.ph#23

Open
ninearif wants to merge 1 commit intodomProjects:masterfrom
ninearif:fix-undefined-property
Open

fix "undefined property: stdClass::$bgcolor" in users/profile.ph#23
ninearif wants to merge 1 commit intodomProjects:masterfrom
ninearif:fix-undefined-property

Conversation

@ninearif
Copy link
Copy Markdown

@ninearif ninearif commented Sep 13, 2018

Fix undefined error in user profile view,

Message: Undefined property: stdClass::$bgcolor

<?php echo '<span class="label" style="background:'.$group->bgcolor.'">'.htmlspecialchars($group->name, ENT_QUOTES, 'UTF-8').'</span>'; ?>

@domProjects domProjects self-assigned this Jan 23, 2019
@domProjects
Copy link
Copy Markdown
Owner

I will create an extension of the ion-auth library. It was a bad idea to change the source of the script because each update had to change the line.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants