2010年3月9日星期二

[fw-mvc] Re: [fw-general] Validator not working

Hey Jigal,

2010/3/9 Jigal sanders <jigalroecha@gmail.com>:
> I am trying to get my UniqueEmail validator working but it seems that my
> validator is never triggered.

not sure if you already saw it but you have this:

$currentUser = isset($context['usr_id']) ?
$this->_model->getUserById($context['user_id']) : null;

make note how you use usr_id first and later user_id (note the e in
user), thought, I'm not sure if they are meant to be different...

---
Ever Daniel Barreto Rojas
everdaniel at gmail dot com
www.everdaniel.com

没有评论: