Sed correction

This commit is contained in:
Alexandre
2022-05-17 17:51:12 +02:00
committed by GitHub
parent 23920ec1f1
commit fb92ed25cb

View File

@@ -34,7 +34,7 @@ RUN \
# Fix for 5.7.5 #
#################
if [ "$BUILD_UPSTREAM" == "5.7.5" ] ; then \
sed -i "s|, \$transaction['amount'] ?? '0');|, (string)(\$transaction['amount'] ?? '0'));|g" /var/www/html/app/Helpers/Collector/GroupCollector.php; fi
sed -i "s|, \$transaction\[\x27amount\x27\] ?? \x270\x27);|, (string)(\$transaction\[\x27amount\x27\] ?? \x270\x27));|g" /var/www/html/app/Helpers/Collector/GroupCollector.php; fi
##################
# 3 Install apps #