Skip to content

Commit caed491

Browse files
authored
Merge pull request BOINC#6291 from BOINC/dpa_web23
web: fix typo that caused errors if job submission not enabled
2 parents dcdd703 + 1fabfa4 commit caed491

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

html/inc/bootstrap.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ function sample_navbar(
184184
);
185185
navbar_menu(tra("Computing"), $x);
186186

187-
if (!empty('REMOTE_JOB_SUBMISSION')) {
187+
if (defined('REMOTE_JOB_SUBMISSION') && REMOTE_JOB_SUBMISSION) {
188188
$user_submit = null;
189189
if ($user) {
190190
$user_submit = BoincUserSubmit::lookup_userid($user->id);

0 commit comments

Comments
 (0)