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
b1c43b3b
Commit
b1c43b3b
authored
Dec 09, 2018
by
Carsten Rose
Browse files
AbstractException.php: fixed access to non existing array element.
parent
e1fb14c4
Changes
1
Show whitespace changes
Inline
Side-by-side
extension/qfq/qfq/exceptions/AbstractException.php
View file @
b1c43b3b
...
...
@@ -135,7 +135,7 @@ class AbstractException extends \Exception {
$arrMerged
=
OnArray
::
htmlentitiesOnArray
(
array_merge
(
$arrMsg
,
$arrDebugShow
));
if
(
!
empty
(
$os
=
$arrMerged
[
ERROR_MESSAGE_OS
]))
{
if
(
!
empty
(
$os
=
$arrMerged
[
ERROR_MESSAGE_OS
]
??
''
))
{
$beforeMatch
=
htmlentities
(
"the right syntax to use near '"
,
ENT_QUOTES
);
$afterMatch
=
htmlentities
(
"' at line [0-9]*$"
,
ENT_QUOTES
);
if
(
preg_match
(
"/mysqli: 1064.*
$beforeMatch
.*
$afterMatch
/"
,
$os
))
{
...
...
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