Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minor change to the way Admin::buildShow works so that it can correct…
…ly detect and avoid entering a tight loop. Info: buildList, buildForm etc all set $this->[datagrid|list|etc] early on in the method, meaning the return statement in the top of the methods can correctly detect and return when the method is called again from within itself. buildShow was not setting $this->show until the of the method, which left it susceptible to entering a loop, which ultimately causes an exception from showMapper as it tries to re-add already existing fields.
- Loading branch information