diff --git a/lib/Features/Microsoft/Controller/TranslatedConnectorController.php b/lib/Features/Microsoft/Controller/TranslatedConnectorController.php index 5e1430d..875e5a4 100644 --- a/lib/Features/Microsoft/Controller/TranslatedConnectorController.php +++ b/lib/Features/Microsoft/Controller/TranslatedConnectorController.php @@ -28,7 +28,10 @@ protected function afterConstruct() { $jobValidator = ( new JobPasswordValidator( $this ) ); $jobValidator->onSuccess( function () use ( $jobValidator ) { - $this->job = $jobValidator->getJob(); + $job = new \Jobs_JobStruct(); + $job->id = $jobValidator->getJob()->id; + $job->password = $jobValidator->getJob()->password; + $this->job = ( new \Jobs_JobDao() )->read( $job )[ 0 ]; $this->project = $this->job->getProject(); } ); diff --git a/static/src/css/sass/microsoft-core.scss b/static/src/css/sass/microsoft-core.scss index 0e59069..33dec9c 100644 --- a/static/src/css/sass/microsoft-core.scss +++ b/static/src/css/sass/microsoft-core.scss @@ -27,7 +27,7 @@ body.review { } } -body.translate { +body:not(.review) { footer { .wrapper nav ul li:nth-child(2) { display: none;