We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
a class that has a belongs_to relationship to the same class can't be defined without causing an infinite regression until php runs out of memory.
with a sql schema of
create table posts (id int, parent_post_id int)
and a Post.php of
class Post extends ActiveRecord\Model { static $belongs_to = array( array("parent_post", "class_name" => "Post") ); }
it will regress infinitely when trying to load the model.
The text was updated successfully, but these errors were encountered:
This has been fixed. Please pull latest changes. Thanks.
Sorry, something went wrong.
Merge pull request miyaji27#3 from murayama/master
8f31e3a
include時の不具合を修正しました
No branches or pull requests
a class that has a belongs_to relationship to the same class can't be defined without causing an infinite regression until php runs out of memory.
with a sql schema of
and a Post.php of
it will regress infinitely when trying to load the model.
The text was updated successfully, but these errors were encountered: