Skip to content

Commit

Permalink
* bugfix: modifications for PHP 7
Browse files Browse the repository at this point in the history
  • Loading branch information
franzholz committed May 10, 2016
1 parent 4948364 commit e4cb31b
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 14 deletions.
5 changes: 2 additions & 3 deletions control/class.tx_ttproducts_activity_finalize.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
*
*/

require_once (PATH_BE_ttproducts.'control/class.tx_ttproducts_activity_base.php');
// require_once (PATH_BE_ttproducts.'control/class.tx_ttproducts_activity_base.php');


class tx_ttproducts_activity_finalize extends tx_ttproducts_activity_base {
Expand Down Expand Up @@ -65,8 +65,7 @@ public function doProcessing (
$orderUid,
&$orderConfirmationHTML,
&$errorMessage,
$address,
&$mainMarkerArray
$address
) {
global $TSFE;
global $TYPO3_DB;
Expand Down
3 changes: 1 addition & 2 deletions control/class.tx_ttproducts_control.php
Original file line number Diff line number Diff line change
Expand Up @@ -810,8 +810,7 @@ public function processActivities (
$orderUid,
$orderConfirmationHTML,
$errorMessage,
$infoViewObj,
$mainMarkerArray
$infoViewObj
);
// Important: MUST come after the call of prodObj->getView, because this function, getView, calculates the order! And that information is used in the finalize-function
$contentTmp = $orderConfirmationHTML;
Expand Down
1 change: 0 additions & 1 deletion template/example_locallang_xml.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************
$Id$
-->

</head>
Expand Down
6 changes: 2 additions & 4 deletions template/products_css_variants_de.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@
*
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************
$Id: products_css_variants_de.html 90302 2015-12-03 15:46:12Z franzholz $
-->

</head>
Expand Down Expand Up @@ -497,7 +495,7 @@ <h3>BASKET_TEMPLATE</h3>

<!-- ###display_variant5_giftService### -->
<br />
Einzelprodukt, das über einen Geschenk-Service verpackt werden kann. ###PRODUCT_ADDITIONAL_GIFT_SERVICE###
Einzelprodukt, das über einen Geschenk-Service verpackt werden kann. ###PRODUCT_ADDITIONAL_GIFT_SERVICE###
<!-- ###display_variant5_giftService### -->
</div>
<div id="PRICE_TAX_BASKET2">
Expand Down Expand Up @@ -1445,7 +1443,7 @@ <h3>BASKET_REQUIRED_INFO_MISSING</h3>

<div class="BASKET_REQUIRED_INFO_MISSING">
Fehler bei der Eingabe<br />
<b>Sie haben nicht alle erforderlichen Felder mit Ihren Adressinformationen ausgef�llt. Bitte gehen Sie zur�ck und aktualisieren Ihre Eingaben.</b>
<b>Sie haben nicht alle erforderlichen Felder mit Ihren Adressinformationen ausgefï¿œllt. Bitte gehen Sie zurï¿œck und aktualisieren Ihre Eingaben.</b>
<form method="post" action="###FORM_URL###">
<input type="submit" id="button2" name="products_info" value="Adressdaten eingeben" onclick="document.forms[0].action='###FORM_URL_INFO###';">
</form>
Expand Down
3 changes: 0 additions & 3 deletions view/field/class.tx_ttproducts_field_base_view.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
*
*/

// require_once (PATH_BE_ttproducts.'view/field/interface.tx_ttproducts_field_view_int.php');


abstract class tx_ttproducts_field_base_view implements tx_ttproducts_field_view_int {
Expand Down Expand Up @@ -73,7 +72,6 @@ public function getRepeatedRowSubpartArrays (
$fieldname,
$key,
$value,
$fieldname,
$tableConf,
$tagArray
) {
Expand Down Expand Up @@ -164,7 +162,6 @@ public function getRepeatedSubpartArrays (
$fieldname,
$key,
$value,
$fieldname,
$tableConf,
$tagArray
);
Expand Down
1 change: 0 additions & 1 deletion view/field/class.tx_ttproducts_field_datafield_view.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ public function getRepeatedRowSubpartArrays (
$fieldname,
$key,
$value,
$fieldname,
$tableConf,
$tagArray
) {
Expand Down

0 comments on commit e4cb31b

Please sign in to comment.