Alexandre
2022-05-16 11:46:21 +02:00
committed by GitHub
parent 64ec3324b0
commit 33dede7b9d

View File

@@ -16,7 +16,7 @@
ARG BUILD_FROM
ARG BUILD_VERSION
ARG BUILD_UPSTREAM="5.7.5"
ENV BUILD_UPSTREAM="5.7.5"
FROM fireflyiii/core:latest
##################
@@ -33,8 +33,9 @@ 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
&& sed -i "s#'0');#'0'));#g" /var/www/html/app/Helpers/Collector/GroupCollector.php; fi
##################
# 3 Install apps #