Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
a4f0bd8f
Commit
a4f0bd8f
authored
Aug 26, 2018
by
Carsten Rose
Browse files
Link.php: enhance error message for logged in be user on missing token.
parent
45d2c187
Pipeline
#756
passed with stage
in 1 minute and 53 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
extension/qfq/qfq/report/Link.php
View file @
a4f0bd8f
...
...
@@ -536,7 +536,9 @@ class Link {
$tokenGiven
[
$key
]
=
true
;
if
(
!
isset
(
$this
->
tableVarName
[
$key
]))
{
throw
new
UserReportException
(
"Unknown link qualifier: '
$key
' - did you forget the one character qualifier?"
,
ERROR_UNKNOWN_LINK_QUALIFIER
);
$msg
[
ERROR_MESSAGE_TO_USER
]
=
"Unknown link qualifier: '
$key
' - did you forget the one character qualifier?"
;
$msg
[
ERROR_MESSAGE_SUPPORT
]
=
$str
;
throw
new
UserReportException
(
json_encode
(
$msg
),
ERROR_UNKNOWN_LINK_QUALIFIER
);
}
$keyName
=
$this
->
tableVarName
[
$key
];
// convert token to name
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment