Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
be9506e3
Commit
be9506e3
authored
Jun 15, 2019
by
Carsten Rose
Browse files
Fix uniqIdQfq() - returned always badcaffeee1234
parent
06e2572d
Pipeline
#1963
passed with stages
in 4 minutes and 46 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
extension/Source/core/helper/Support.php
View file @
be9506e3
...
...
@@ -1502,6 +1502,11 @@ class Support {
* @return string
*/
public
static
function
uniqIdQfq
(
$prefix
)
{
return
$prefix
.
(
defined
(
'PHPUNIT_QFQ'
))
?
'badcaffee1234'
:
uniqid
();
if
(
defined
(
'PHPUNIT_QFQ'
))
{
return
'badcaffee1234'
;
}
return
uniqid
();
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
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