Update Dockerfile

This commit is contained in:
Alexandre
2022-05-17 15:04:42 +02:00
committed by GitHub
parent eda436ec93
commit a6baaacbcc

View File

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