From 9b6e00bba216b783e6f9b8cdb3a672a54e87ca7f Mon Sep 17 00:00:00 2001 From: Carsten Schmitz Date: Wed, 3 Feb 2016 12:40:20 +0100 Subject: [PATCH] Fixed issue #10244: Internal Server Error on RemoteControl add_survey call --- application/helpers/remotecontrol/remotecontrol_handle.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/application/helpers/remotecontrol/remotecontrol_handle.php b/application/helpers/remotecontrol/remotecontrol_handle.php index 5cc0b8685f7..ddf0dc09750 100644 --- a/application/helpers/remotecontrol/remotecontrol_handle.php +++ b/application/helpers/remotecontrol/remotecontrol_handle.php @@ -139,13 +139,6 @@ public function add_survey($sSessionKey, $iSurveyID, $sSurveyTitle, $sSurveyLang $sTitle = html_entity_decode($sSurveyTitle, ENT_QUOTES, "UTF-8"); - // Load default email templates for the chosen language - $oLanguage = new Limesurvey_lang($sSurveyLanguage); - $aDefaultTexts = templateDefaultTexts($oLanguage, 'unescaped'); - unset($oLanguage); - - $bIsHTMLEmail = false; - $aInsertData = array( 'surveyls_survey_id' => $iNewSurveyid, 'surveyls_title' => $sTitle,