Skip to content

Fix PHP warning#8

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

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

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

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