diff --git a/CHANGELOG.txt b/CHANGELOG.txt index e6626bd98df7d5eb84570f4adfa2faa6373eb83d..81da5464c57f8d4b93619a4625b94a6f3b3e2384 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -15,6 +15,7 @@ Wysiwyg 7.x-3.x, xxxx-xx-xx Wysiwyg 6.x-3.x, xxxx-xx-xx --------------------------- +#660080 by TwoD: Fixed Notice: Undefined offset. #462146 by TwoD: Cleaned up CKEditor implementation. #380586 by SimonEast: Updated YUI editor: Version detection not working. #610132 by TwoD: Updated CKEditor 3.0.1, stylesheets and version check. diff --git a/wysiwyg.admin.inc b/wysiwyg.admin.inc index e745e034ed6e4c651f2183f58ac7faa950640633..7466b83a34783f9681690051346e0d347b673dae 100644 --- a/wysiwyg.admin.inc +++ b/wysiwyg.admin.inc @@ -383,7 +383,7 @@ function wysiwyg_profile_overview($form, &$form_state) { $library = (isset($editor['library']) ? $editor['library'] : key($editor['libraries'])); $targs = array( '@editor-path' => $editor['editor path'], - '@library-filepath' => $editor['library path'] . '/' . $editor['libraries'][$library]['files'][0], + '@library-filepath' => $editor['library path'] . '/' . (isset($editor['libraries'][$library]['files'][0]) ? $editor['libraries'][$library]['files'][0] : key($editor['libraries'][$library]['files'])), ); $instructions = '

' . t('Extract the archive and copy its contents into a new folder in the following location:
@editor-path', $targs) . '

'; $instructions .= '

' . t('So the actual library can be found at:
@library-filepath', $targs) . '

';