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

Update Functions.php #60

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Update Functions.php #60

wants to merge 1 commit into from

Conversation

homer8173
Copy link

Fix problem with bootstrap mode

Fix problem with bootstrap mode
@@ -193,6 +193,6 @@ public static function isBackportCall($backtrace, $depth)

public static function isRetrofitResource($imap)
{
return is_resource($imap) && get_resource_type($imap) == 'imap';
return get_class($imap) == 'IMAP\Connection';

Choose a reason for hiding this comment

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

this would not work for php 7

@homer8173
Copy link
Author

I was under php 8 and everything was fine except this

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