Fix PHP error mesage (#1702)

This fixes the following error message:
```
Notice: Trying to access array offset on value of type bool in PEAR/REST.php on line 187
PHP Notice:  Trying to access array offset on value of type bool in /usr/share/php/PEAR/REST.php on line 187
```

Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
szaimen 2020-11-30 16:34:50 +01:00 committed by GitHub
parent 743b148bcc
commit 6e6197e98b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -197,6 +197,9 @@ then
fi
fi
# Fix PHP error mesage
mkdir -p /tmp/pear/cache
# Update Redis PHP extension (18.04 --> 20.04 since 16.04 already is deprecated in the top of this script)
print_text_in_color "$ICyan" "Trying to upgrade the Redis PECL extension..."