Commit 6de3fe93 authored by Carsten  Rose's avatar Carsten Rose
Browse files

'pattern' included again.

parent 803f472b
......@@ -983,9 +983,9 @@ abstract class AbstractBuildForm {
if ($flagRowUpdate) {
$json[API_FORM_UPDATE_VALUE] = $value;
if ($pattern !== null) {
$json['pattern'] = $pattern;
}
//CR if ($pattern !== null) {
// $json['pattern'] = $pattern;
// }
}
if (isset($formElement[FE_LABEL])) {
......
......@@ -30,7 +30,6 @@ class ErrorHandler {
// This error code is not included in error_reporting
return false;
}
// Do not show too much to the user. E.g. 'ldap_bind()' might have problems, but the user should not see the
// file and line number. Often the filename is part of the message >> don't show the message to the user.
throw new CodeException(json_encode(
......@@ -38,4 +37,4 @@ class ErrorHandler {
ERROR_MESSAGE_SUPPORT => "File: $file / Line: $line / $message"]), $severity, null);
}
}
\ No newline at end of file
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment