Merge pull request #56 from jaapjansma/issue_55

Fix for issue #55: view in browser link is broken
This commit is contained in:
Björn Endres 2022-03-24 14:35:24 +01:00 committed by GitHub
commit 668b7ea150
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ if (!$target_mail_view) civiproxy_http_error("Feature disabled", 405);
civiproxy_security_check('mail-view');
// basic restraints
$valid_parameters = array( 'id' => 'int' );
$valid_parameters = array( 'id' => 'int', 'cid' => 'int', 'cs' => 'string' );
$parameters = civiproxy_get_parameters($valid_parameters);
// check if id specified