diff --git a/core/src/plugins/editor.zoho/class.ZohoEditor.php b/core/src/plugins/editor.zoho/class.ZohoEditor.php index 5d2da8376a..ae5cda0e64 100644 --- a/core/src/plugins/editor.zoho/class.ZohoEditor.php +++ b/core/src/plugins/editor.zoho/class.ZohoEditor.php @@ -144,7 +144,7 @@ public function switchAction($action, $httpVars, $filesVars) AJXP_Controller::applyHook("node.before_change", array(&$node)); if ($this->getFilteredOption("USE_ZOHO_AGENT",$repository->getId()) ) { - $data = AJXP_Utils::getRemoteContent( $this->getFilteredOption("ZOHO_AGENT_URL",$repository->getId())."?ajxp_action=get_file&name=".$id."&key=".$this->getFilteredOption("ZOHO_AGENT_URL", $repository->getId())); + $data = AJXP_Utils::getRemoteContent( $this->getFilteredOption("ZOHO_AGENT_URL",$repository->getId())."?ajxp_action=get_file&name=".$id."&key=".$this->getFilteredOption("ZOHO_AGENT_KEY", $repository->getId())); if (strlen($data)) { file_put_contents($targetFile, $data); echo "MODIFIED";