Skip to content

Commit

Permalink
Fixed: Guest Book Element's delete button did not work when page was …
Browse files Browse the repository at this point in the history
…an instance (e.g. target of menu)

DOC_INST URL query element got lost...
  • Loading branch information
JT committed Jun 12, 2013
1 parent 6862643 commit 0e0ccc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webyep-system/programm/elements/WYGuestbookElement.php
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ function sDisplay()
$dEditorQuery = $this->dEditorQuery;
$dEditorQuery[WY_QK_GB_ID] = $iID;
$goApp->setActionInQuery($dEditorQuery, WY_QV_GB_REMOVE);
$oURL->setQuery($dEditorQuery);
$oURL->setQuery(array_merge($oURL->dQuery, $dEditorQuery));
$oLink = new WYLink($oURL, WYTS("GuestbookRemoveButton"));
$oImgURL->addComponent("remove-button.gif");
$oImg = new WYImage($oImgURL);
Expand Down

0 comments on commit 0e0ccc1

Please sign in to comment.