}
$config = CRM_Core_Config::singleton();
- $username = trim(CRM_Utils_Type::escape($_REQUEST['cms_name'], 'String'));
+ $username = trim(CRM_Utils_Array::value('cms_name', $_REQUEST));
$params = array('name' => $username);
if (php_sapi_name() == "cli") {
print ("Sorry. A non-recoverable error has occurred.\n$message \n$code\n$email\n\n");
// Fix for CRM-16899
- //debug_print_backtrace();
+ echo static::formatBacktrace(debug_backtrace());
die("\n");
// FIXME: Why doesn't this call abend()?
// Difference: abend() will cleanup transaction and (via civiExit) store session state