1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 13:47:31 +02:00

Fixes for user audit log and rolling log. Removed some debug information from logs. Corrected bounce-handler line-ending encoding (could cause the following PHP error "Error in argument 1, char 3: option not found ")

This commit is contained in:
Cameron
2015-05-21 12:37:44 -07:00
parent 97ac03e9aa
commit e28997f420
6 changed files with 969 additions and 951 deletions

View File

@@ -425,9 +425,9 @@ class signup
validatorClass::addFieldTypes($userMethods->userVettingInfo,$dbData);
$newID = $sql->update('user',$dbData);
if($newID === FALSE)
if($newID === false)
{
$log->e_log_event(10,debug_backtrace(),'USER','Verification Fail',print_r($row,TRUE),FALSE,LOG_TO_ROLLING);
$log->e_log_event(10,debug_backtrace(),'USER','Verification Fail', print_r($row,true),false, LOG_TO_ROLLING);
$ns->tablerender(LAN_SIGNUP_75, LAN_SIGNUP_101);
return false;
}
@@ -455,9 +455,10 @@ class signup
else
{
// Invalid activation code
$log->e_log_event(10,debug_backtrace(),'USER','Invalid Verification URL', print_r($qs,true),false, LOG_TO_ROLLING);
echo e107::getMessage()->addError("Invalid URL")->render();
// header("location: ".e_BASE."index.php");
return;
return false;
}
}