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
37e738c5
Commit
37e738c5
authored
Dec 09, 2018
by
Carsten Rose
Browse files
AbstractException.php: fixed problem with uninitialised array element.
parent
d953e9d1
Changes
2
Hide whitespace changes
Inline
Side-by-side
extension/qfq/qfq/exceptions/AbstractException.php
View file @
37e738c5
...
...
@@ -111,7 +111,7 @@ class AbstractException extends \Exception {
$arrDebugShow
[
EXCEPTION_SIP
]
=
$store
->
getStore
(
STORE_SIP
);
$arrDebugShow
[
EXCEPTION_PAGE_ID
]
=
$t3Vars
[
TYPO3_PAGE_ID
];
$arrDebugShow
[
EXCEPTION_TT_CONTENT_UID
]
=
$t3Vars
[
TYPO3_TT_CONTENT_UID
];
$arrDebugShow
[
EXCEPTION_FE_USER
]
=
$t3Vars
[
TYPO3_FE_USER
];
$arrDebugShow
[
EXCEPTION_FE_USER
]
=
$t3Vars
[
TYPO3_FE_USER
]
??
''
;
$arrDebugShow
[
EXCEPTION_FE_USER_STORE_USER
]
=
Store
::
getVar
(
TYPO3_FE_USER
,
STORE_USER
);
// Optional existing arrays will be flattened
...
...
extension/qfq/qfq/helper/Support.php
View file @
37e738c5
...
...
@@ -1047,7 +1047,7 @@ class Support {
// date/datetime
if
(
$maxLength
!==
false
)
{
if
(
is_numeric
(
$formElement
[
FE_MAX_LENGTH
])
&&
$formElement
[
FE_MAX_LENGTH
]
!=
0
)
{
if
(
isset
(
$formElement
[
FE_MAX_LENGTH
])
&&
is_numeric
(
$formElement
[
FE_MAX_LENGTH
])
&&
$formElement
[
FE_MAX_LENGTH
]
!=
0
)
{
if
(
$formElement
[
FE_MAX_LENGTH
]
>
$maxLength
)
{
$formElement
[
FE_MAX_LENGTH
]
=
$maxLength
;
}
...
...
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