From 780aca0b766d10b6cb49bc37b0ce5161dc1bce0f Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Wed, 20 May 2020 11:13:57 +0200 Subject: [PATCH] fix checking return value of hook 'addFolderAttributes' --- views/bootstrap/class.EditFolder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/bootstrap/class.EditFolder.php b/views/bootstrap/class.EditFolder.php index e7bc756df..5e99be9ae 100644 --- a/views/bootstrap/class.EditFolder.php +++ b/views/bootstrap/class.EditFolder.php @@ -129,7 +129,7 @@ $(document).ready(function() { foreach($arrs as $arr) { $this->formField($arr[0], $arr[1]); } - } elseif(is_string($arr)) { + } elseif(is_string($arrs)) { echo $arr; } $this->formSubmit(" ".getMLText('save'));