Skip to content
GitLab
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
a96d71f4
Commit
a96d71f4
authored
Jun 12, 2017
by
Carsten Rose
Browse files
KeyValueStringParser.php: fixed a problem which have never been reported.
OnArray.php: typo in doc. doUpload: enhance type declaration.
parent
cc55f4fb
Changes
3
Hide whitespace changes
Inline
Side-by-side
extension/qfq/qfq/File.php
View file @
a96d71f4
...
...
@@ -72,11 +72,12 @@ class File {
}
/**
* @param string $keyStoreExtra
* @param string $sipUpload
* @param array $statusUpload
* @throws CodeException
* @throws UserFormException
*/
private
function
doUpload
(
$sipUpload
,
$statusUpload
)
{
private
function
doUpload
(
$sipUpload
,
array
$statusUpload
)
{
list
(
$dummy
,
$newArr
)
=
each
(
$_FILES
);
$statusUpload
=
array_merge
(
$statusUpload
,
$newArr
);
...
...
extension/qfq/qfq/helper/KeyValueStringParser.php
View file @
a96d71f4
...
...
@@ -103,7 +103,7 @@ class KeyValueStringParser {
$returnValue
=
array
();
foreach
(
$keyValuePairs
as
$keyValuePairString
)
{
if
(
trim
(
$keyValuePairString
===
""
)
)
{
if
(
trim
(
$keyValuePairString
)
===
""
)
{
continue
;
}
...
...
extension/qfq/qfq/helper/OnArray.php
View file @
a96d71f4
...
...
@@ -262,7 +262,7 @@ class OnArray {
}
/**
* Iterates over an array and replaces
all occurences of
$search with $replace. Returns the new array.
* Iterates over an array and replaces $search with $replace
in all elements
. Returns the new array.
*
* @param array $src
* @param $search
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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