diff --git a/main/document/edit_document.php b/main/document/edit_document.php index 6c183ffa08..b431d42e5d 100755 --- a/main/document/edit_document.php +++ b/main/document/edit_document.php @@ -721,11 +721,13 @@ if ($owner_id == $_user['user_id'] || api_is_platform_admin() || $is_allowed_to_ } //for better navigation when a slide is been commented -function nav_to_slideshow($slide_id) -{ - echo '
'; +function nav_to_slideshow($slide_id) { + $path = Security::remove_XSS($_GET['curdirpath']); + $pathurl = urlencode($path); + echo ''; } /* ==============================================================================