break;
}
}
+ else {
+ if(($result === false) && (file_exists('dbfail.out')))
+ file_put_contents('dbfail.out', printable($sql) . ' returned false' . "\n", FILE_APPEND);
+ }
if(($result === true) || ($result === false))
return $result;
'$username' => $importer['username'],
'$email' => $importer['email'],
'$from' => $msg['from-name'],
- '$title' => $msg['title'],
- '$body' => strip_tags(bbcode($msg['body']))
+ '$title' => stripslashes($msg['title']),
+ '$body' => strip_tags(bbcode(stripslashes($msg['body'])))
));
$res = mail($importer['email'], t('New mail received at ') . $a->config['sitename'],