diff --git a/cis/private/profile/urlaubstool.php b/cis/private/profile/urlaubstool.php index 5f1eab260..be9d7da19 100644 --- a/cis/private/profile/urlaubstool.php +++ b/cis/private/profile/urlaubstool.php @@ -449,7 +449,8 @@ $addon_obj = new addon(); $addon_obj->loadAddons(); foreach($addon_obj->result as $addon) { - echo ''; + if(file_exists('./../../addons/'.$addon->kurzbz.'/cis/init.js.php')) + echo ''; } // Wenn Seite fertig geladen ist Addons aufrufen @@ -457,9 +458,12 @@ echo ' '; diff --git a/cis/private/profile/zeitsperre_resturlaub.php b/cis/private/profile/zeitsperre_resturlaub.php index 18a94cddc..5e5667296 100644 --- a/cis/private/profile/zeitsperre_resturlaub.php +++ b/cis/private/profile/zeitsperre_resturlaub.php @@ -86,7 +86,8 @@ $addon_obj = new addon(); $addon_obj->loadAddons(); foreach($addon_obj->result as $addon) { - echo ''; + if(file_exists('./../../addons/'.$addon->kurzbz.'/cis/init.js.php')) + echo ''; } // Wenn Seite fertig geladen ist Addons aufrufen @@ -94,9 +95,12 @@ echo ' ';