Duplicate Problem in ACP > Options > Performance: jQuery Source


Well-known member
I have found a problem in ACP > Options > Performance: jQuery Source

jQuery Source option can't be changed, every time when i hit save changes button i got server error and that option unchanged:

Invalid argument supplied for foreach()

    XenForo_Application::handlePhpError() in XenForo/Template/FileHandler.php at line 119
    XenForo_Template_FileHandler->_deleteTemplate() in XenForo/Template/FileHandler.php at line 67
    XenForo_Template_FileHandler::delete() in XenForo/Model/Template.php at line 1424
    XenForo_Model_Template->deleteTemplateFiles() in XenForo/Option/TemplateFiles.php at line 27
    call_user_func_array() in XenForo/DataWriter/Option.php at line 345
    XenForo_DataWriter_Option->_validateOptionValuePreSave() in XenForo/DataWriter/Option.php at line 211
    XenForo_DataWriter_Option->_preSave() in XenForo/DataWriter.php at line 1414
    XenForo_DataWriter->preSave() in XenForo/DataWriter.php at line 1354
    XenForo_DataWriter->save() in XenForo/Model/Option.php at line 568
    XenForo_Model_Option->updateOptions() in XenForo/ControllerAdmin/Option.php at line 174
    XenForo_ControllerAdmin_Option->actionSave() in XenForo/FrontController.php at line 310
    XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
    XenForo_FrontController->run() in /home/user/public_html/admin.php at line 13
Also i can't see full message editor box on any thread, i think something is wrong with jQuery.