Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Items aren't under the World Expansion namespace so they cause errors #397

Open
wants to merge 2 commits into
base: extension/world-expansion
Choose a base branch
from

Conversation

AW0005
Copy link

@AW0005 AW0005 commented Mar 14, 2024

Because of the code here:

public function getLinkAttribute()
{
$link = 'App\Models\WorldExpansion\\'.$this->link_type;
return isset($this->link_type) ? $link::find($this->link_id) : null;
}

That presumes that attachments are under the World Expanded namespace, when item is selected it causes "not found" errors.

This PR removes items but mostly is here to serve as a reminder that issue exists and a solution should probably be found to allow for items to be connected properly :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant