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
575bf775
Commit
575bf775
authored
Feb 18, 2018
by
Carsten Rose
Browse files
MultiDB: fix missing dbIndexData in edit link
parent
e90a01a3
Changes
2
Hide whitespace changes
Inline
Side-by-side
extension/qfq/qfq/AbstractBuildForm.php
View file @
575bf775
...
...
@@ -2434,6 +2434,7 @@ abstract class AbstractBuildForm {
$queryStringArray
=
[
SIP_FORM
=>
$formElement
[
SUBRECORD_PARAMETER_FORM
],
SIP_RECORD_ID
=>
$targetRecordId
,
PARAM_DB_INDEX_DATA
=>
$this
->
formSpec
[
F_DB_INDEX
],
];
// Inherit current F_MODE
...
...
@@ -2656,7 +2657,6 @@ abstract class AbstractBuildForm {
* Create a link (incl. SIP) to delete the current record.
*
* @param string $formName if there is a form, specify that
* @param string $tableName if there is no form , specify the table from where to delete the record.
* @param int $recordId record to delete
* @param string $mode
* * mode=RETURN_URL: return complete URL
...
...
@@ -2674,6 +2674,7 @@ abstract class AbstractBuildForm {
$urlParam
[
SIP_RECORD_ID
]
=
$recordId
;
$urlParam
[
SIP_FORM
]
=
$formName
;
$urlParam
[
SIP_MODE_ANSWER
]
=
MODE_JSON
;
// $urlParam[PARAM_DB_INDEX_DATA] = $this->formSpec[F_DB_INDEX];
$queryString
=
Support
::
arrayToQueryString
(
$urlParam
);
...
...
extension/qfq/qfq/form/Dirty.php
View file @
575bf775
...
...
@@ -52,6 +52,9 @@ class Dirty {
/**
* Init class
* @param bool $phpUnit
* @param bool $dbIndexData
* @param bool $dbIndexQfq
*/
public
function
__construct
(
$phpUnit
=
false
,
$dbIndexData
=
false
,
$dbIndexQfq
=
false
)
{
...
...
@@ -65,7 +68,8 @@ class Dirty {
}
/**
*
* @param $dbIndexData
* @param $dbIndexQfq
*/
private
function
doDbArray
(
$dbIndexData
,
$dbIndexQfq
)
{
...
...
@@ -92,7 +96,6 @@ class Dirty {
* @throws UserFormException
*/
public
function
process
()
{
$tableVars
=
array
();
$sipClass
=
new
Sip
();
...
...
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