diff options
Diffstat (limited to 'lib/private/Share20/Share.php')
-rw-r--r-- | lib/private/Share20/Share.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/private/Share20/Share.php b/lib/private/Share20/Share.php index 73373c7823d..e54497c9b55 100644 --- a/lib/private/Share20/Share.php +++ b/lib/private/Share20/Share.php @@ -322,7 +322,10 @@ class Share implements \OCP\Share\IShare { * @inheritdoc */ public function getNote() { - return $this->note; + if (is_string($this->note)) { + return $this->note; + } + return ''; } /** |