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
45771b3a
Commit
45771b3a
authored
Dec 03, 2018
by
Carsten Rose
Browse files
Fixes #7406: dbinit might contain multiple sql statements now.
parent
2cc07276
Pipeline
#1086
passed with stage
in 2 minutes and 4 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
extension/qfq/qfq/database/Database.php
View file @
45771b3a
...
...
@@ -89,7 +89,13 @@ class Database {
// DB Init
if
(
$dbInit
!==
false
&&
$dbInit
!=
''
)
{
$this
->
sql
(
$dbInit
);
$arr
=
explode
(
';'
,
$dbInit
);
foreach
(
$arr
AS
$sql
)
{
$sql
=
trim
(
$sql
);
if
(
''
!=
$sql
)
{
$this
->
sql
(
$sql
);
}
}
}
}
...
...
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