From 71ee883210fbc8461bc685d93a8764ead9117753 Mon Sep 17 00:00:00 2001 From: nathangray Date: Fri, 1 Jun 2018 15:24:02 -0600 Subject: [PATCH] Entry sharing - handle files checkbox --- api/src/Sharing.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/api/src/Sharing.php b/api/src/Sharing.php index d1e3c26570..a050c68983 100644 --- a/api/src/Sharing.php +++ b/api/src/Sharing.php @@ -68,11 +68,11 @@ class Sharing static $modes = array( self::READONLY => array( 'label' => 'Readonly share', - 'title' => 'Link is appended to mail allowing recipients to download up to date version of files', + 'title' => 'Link is generated allowing recipients to view entries', ), self::WRITABLE => array( 'label' => 'Writable share', - 'title' => 'Link is appended to mail allowing recipients to download or modify up to date version of files (EPL only)' + 'title' => 'Link is generated allowing recipients to view and modify entries' ), ); @@ -563,7 +563,10 @@ class Sharing $action == 'shareWritableLink' ? Sharing::WRITABLE : Sharing::READONLY, basename($selected), array(), - array('share_writable' => $action == 'shareWritableLink') + array( + 'share_writable' => $action == 'shareWritableLink', + 'include_files' => $files + ) ); $arr = array(