diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-05-17 06:32:41 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-05-17 06:33:46 +0000 |
commit | 37ff688f2c8c2bbf037dcc490f5babdc4cc346e8 (patch) | |
tree | 213afe64a49077159820c1024e1b59749cad408d /community/zabbix/ZBX-11549.patch | |
parent | 735529259257a8cb168e4e4305f8bec0bcb2d6de (diff) | |
download | aports-37ff688f2c8c2bbf037dcc490f5babdc4cc346e8.tar.bz2 aports-37ff688f2c8c2bbf037dcc490f5babdc4cc346e8.tar.xz |
community/zabbix: fix webif depends and php7.1 compatibility
Diffstat (limited to 'community/zabbix/ZBX-11549.patch')
-rw-r--r-- | community/zabbix/ZBX-11549.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/community/zabbix/ZBX-11549.patch b/community/zabbix/ZBX-11549.patch new file mode 100644 index 0000000000..bff252b847 --- /dev/null +++ b/community/zabbix/ZBX-11549.patch @@ -0,0 +1,10 @@ +--- a/frontends/php/include/func.inc.php ++++ b/frontends/php/include/func.inc.php +@@ -401,6 +401,7 @@ + function str2mem($val) { + $val = trim($val); + $last = strtolower(substr($val, -1)); ++ $val = (int) $val; + + switch ($last) { + case 'g': |