diff options
Diffstat (limited to '4ed264051ed407d59c2fde4128be176e96e8f22a.patch')
-rw-r--r-- | 4ed264051ed407d59c2fde4128be176e96e8f22a.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/4ed264051ed407d59c2fde4128be176e96e8f22a.patch b/4ed264051ed407d59c2fde4128be176e96e8f22a.patch new file mode 100644 index 0000000..0b6b057 --- /dev/null +++ b/4ed264051ed407d59c2fde4128be176e96e8f22a.patch @@ -0,0 +1,25 @@ +Adapted for 0.9.0 from + + +From 4ed264051ed407d59c2fde4128be176e96e8f22a Mon Sep 17 00:00:00 2001 +From: Alex Pott <alex.a.pott@googlemail.com> +Date: Sun, 29 Oct 2017 12:54:24 +0000 +Subject: [PATCH] Fix PHP 7.1 bug + +--- + lib/Serialiser/GraphViz.php | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/Serialiser/GraphViz.php b/lib/Serialiser/GraphViz.php +index db2ae15d..7c1d8a6b 100644 +--- a/lib/EasyRdf/Serialiser/GraphViz.php ++++ b/lib/EasyRdf/Serialiser/GraphViz.php +@@ -220,7 +220,7 @@ protected function escape($input) + */ + protected function escapeAttributes($array) + { +- $items = ''; ++ $items = array(); + foreach ($array as $k => $v) { + $items[] = $this->escape($k).'='.$this->escape($v); + } |