diff --git a/core/src/plugins/action.share/class.ShareCenter.php b/core/src/plugins/action.share/class.ShareCenter.php index a5ba5e6154..4a332076d4 100644 --- a/core/src/plugins/action.share/class.ShareCenter.php +++ b/core/src/plugins/action.share/class.ShareCenter.php @@ -1425,6 +1425,7 @@ public function shareNode($httpVars, &$update){ $hiddenUserEntry = null; $downloadDisabled = false; + $originalHttpVars = $httpVars; if(isSet($httpVars["enable_public_link"])){ // PREPARE HIDDEN USER DATA if(isSet($httpVars["hash"])){ @@ -1457,7 +1458,7 @@ public function shareNode($httpVars, &$update){ } if(!count($users) && !count($groups)){ ob_start(); - $this->switchAction("unshare", $httpVars, array()); + $this->switchAction("unshare", $originalHttpVars, array()); ob_end_clean(); return null; }