Skip to content

Fix PHP warning - #8

Open
fernandomema wants to merge 2 commits into
iNem0o:masterfrom
fernandomema:patch-1
Open

Fix PHP warning#8
fernandomema wants to merge 2 commits into
iNem0o:masterfrom
fernandomema:patch-1

Conversation

@fernandomema

Copy link
Copy Markdown

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

@iNem0o iNem0o left a comment

Copy link
Copy Markdown
Owner

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

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

@fernandomema fernandomema left a comment

Copy link
Copy Markdown
Author

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