Changeset 14320
- Timestamp:
- 12/25/08 15:19:56 (4 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
plugins/sfApplyPlugin/trunk/modules/sfApply/lib/BasesfApplyActions.class.php
r13802 r14320 144 144 { 145 145 $validate = $this->getRequestParameter('validate'); 146 $sfGuardUser = sfGuardUserProfilePeer::retrieveUserByValidate($validate); 146 $c = new Criteria(); 147 // 0.6.3: oops, this was in sfGuardUserProfilePeer in my application 148 // and therefore never got shipped with the plugin until I built 149 // a second site and spotted it! 150 $c->add(sfGuardUserProfilePeer::VALIDATE, $validate); 151 $c->addJoin(sfGuardUserPeer::ID, sfGuardUserProfilePeer::USER_ID); 152 $sfGuardUser = sfGuardUserPeer::doSelectOne($c); 147 153 if (!$sfGuardUser) 148 154 {