This repository has been archived by the owner on Mar 1, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for LooselyCoupled template - Removed clearAccessor call from fet…
…chLooselyCoupledRelation Doctrine_Record stores customAccessors in a static property, not per instance Doctrine_Templates are stored in the table, not the record, and so are only instantiated (and so setUp etc methods called) once. Thus, the custom accessor is removed from all present and future instances of the relevant object class by this call, and will never be re-added. I assume the intention was to remove from the current instance only?
- Loading branch information