You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It called to my attention that when trying to pass a Page object as a "yes" value, I was ending up with the page title as a result of the if(). Sample of the code I was trying to do, basically to add some dynamic values in a template used for rendering an email body.
It called to my attention that when trying to pass a Page object as a "yes" value, I was ending up with the page title as a result of the if(). Sample of the code I was trying to do, basically to add some dynamic values in a template used for rendering an email body.
So I ended up discovering that the Page object evaluates to
true
in this is_callable() call in PageComparison.php.So, I think it would be more helpful to actually expect the Page object as a value?
Thanks!
The text was updated successfully, but these errors were encountered: