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

Fix PHP warning #8

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Fix PHP warning #8

wants to merge 2 commits into from

Conversation

fernandomema
Copy link

Fix PHP warning:
Warning: Invalid argument supplied for foreach() in %htdocs_path%\vendor\picorm\picorm\src\PicORM\Model.php on line 921

Fix PHP warning: 
Warning: Invalid argument supplied for foreach() in %htdocs_path%\vendor\picorm\picorm\src\PicORM\Model.php on line 921
Copy link
Owner

@iNem0o iNem0o left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @fernandomema

Thanks for your fix, i will merge it after a small change.

Best regards

src/PicORM/Model.php Outdated Show resolved Hide resolved
Fix PHP warning:
Warning: Invalid argument supplied for foreach() in %htdocs_path%\vendor\picorm\picorm\src\PicORM\Model.php on line 921
Copy link
Author

@fernandomema fernandomema left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change is_object to is_array method

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.

2 participants