diff --git a/app/exec/exec.php b/app/exec/exec.php
index c53f75a228..4b5e98b2cb 100644
--- a/app/exec/exec.php
+++ b/app/exec/exec.php
@@ -305,10 +305,10 @@
echo "
";
echo " ";
- if (permission_exists('script_editor_view') && file_exists($_SERVER["PROJECT_ROOT"]."/app/edit/")) {
+ if (permission_exists('edit_view') && file_exists($_SERVER["PROJECT_ROOT"]."/app/edit/")) {
echo " ";
echo " | ";
- echo " \n";
+ echo " \n";
echo " | ";
echo " ";
}
|