Skip to content

Commit

Permalink
Merge branch 'main' into fix419
Browse files Browse the repository at this point in the history
  • Loading branch information
Lobz committed Jun 11, 2024
2 parents 203fe28 + 4da0efb commit 38a192e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/Http/Controllers/ExercicioController.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ private function corretoR(Exercicio $exercicio, string $file)
. 'dbpass <- "' . env('DB_PASSWORD') . '";'
. 'dbname <- "' . env('DB_DATABASE') . '";'
. 'con <- connect(dbusr, dbpass, dbname);'
. 'TRUE;' // This is to prevent connection object being returned (which causes an echo warning visible in production)
;
$r = $cnx->evalString($rcode);
} catch (Exception $e) {
Expand Down

0 comments on commit 38a192e

Please sign in to comment.