diff --git a/backend/TE/TakeExercise.php b/backend/TE/TakeExercise.php index 393d6e8b902eeec0502e62f6abcabd75e6000081..760490d13b98105eae7b21f452ddbf0c662719bf 100644 --- a/backend/TE/TakeExercise.php +++ b/backend/TE/TakeExercise.php @@ -64,7 +64,7 @@ class ExerciseFrame extends Node $rs->getPage()->addScript( $base . 'js/pianos4_help.js' ); $rs->getPage()->addScript( $base . 'js/pinger.js' ); - if( Application::get( 'viewTracker' ) ) + if( Application::get( 'viewTracker' ) && ! $_SESSION[ 'user' ][ 'isadmin' ] ) $rs->getPage()->addScript( $base . 'js/viewTracker.js' ); if( $_SESSION[ 'user' ][ 'isadmin' ] )