From 2192ea6fdf21a00ccf44d626a01b756d194d6cbe Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Tue, 30 Oct 2018 12:12:07 +0100 Subject: update html_to_markdown, smarty and sabredav libs via composer --- vendor/sabre/dav/lib/DAV/Tree.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'vendor/sabre/dav/lib/DAV/Tree.php') diff --git a/vendor/sabre/dav/lib/DAV/Tree.php b/vendor/sabre/dav/lib/DAV/Tree.php index 5d2792503..7c04f0915 100644 --- a/vendor/sabre/dav/lib/DAV/Tree.php +++ b/vendor/sabre/dav/lib/DAV/Tree.php @@ -298,7 +298,9 @@ class Tree { */ protected function copyNode(INode $source, ICollection $destinationParent, $destinationName = null) { - if (!$destinationName) $destinationName = $source->getName(); + if ((string)$destinationName === '') { + $destinationName = $source->getName(); + } if ($source instanceof IFile) { -- cgit v1.2.3