I tried the below with
$sendto["$username"] = true;
$tostring["$user[userid]"] = $user['username'];
before and after the actual error message
or without it at all, like your code
I get no error messages and all PM went thru.
else if ($user['awaystatus'] == 1)
{
$awaysincedate = vbdate($vboptions['dateformat'], $user['awaysince']);
if ($user['awaymessage'] == "")
{
$awaymsg = "not given";
}
else
{
$awaymsg = $user['awaymessage'];
}
$sendto["$username"] = true;
$tostring["$user[userid]"] = $user['username'];
eval('$pmuseraway[] = "' . fetch_phrase('userawaynopm', PHRASETYPEID_ERROR) . '";');
}
|