fi
if [ "$USER_REQUIREEMAIL" = true ]; then
- if [ ! "email" ]; then
+ if [ ! "$email" ]; then
REDIRECT "${_BASE}${PATH_INFO}#ERROR_EMAIL_INVALID"
elif user_emailexist "$email"; then
REDIRECT "${_BASE}${PATH_INFO}#ERROR_EMAIL_EXISTS"
local email="$(POST email |user_checkemail)"
local message="$(POST message)"
- if [ ! "email" ]; then
+ if [ ! "$email" ]; then
REDIRECT "${_BASE}${PATH_INFO}#ERROR_EMAIL_INVALID"
elif user_emailexist "$email"; then
REDIRECT "${_BASE}${PATH_INFO}#ERROR_EMAIL_EXISTS"