Skip to content

Commit

Permalink
add quote to ['course_id'] == "-1" in breadcrumb check for admins
Browse files Browse the repository at this point in the history
  • Loading branch information
atutorlangs committed Aug 24, 2014
1 parent 8185154 commit ef64e66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion themes/atspaces/include/header.tmpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@
</div>

</div>
<?php if (isset($_SESSION["prefs"]["PREF_SHOW_BREAD_CRUMBS"]) && $_SESSION["prefs"]["PREF_SHOW_BREAD_CRUMBS"] || $_SESSION['course_id'] = "-1") { ?>
<?php if (isset($_SESSION["prefs"]["PREF_SHOW_BREAD_CRUMBS"]) && $_SESSION["prefs"]["PREF_SHOW_BREAD_CRUMBS"] || $_SESSION['course_id'] == "-1") { ?>
<!-- the bread crumbs -->
<div class="crumbcontainer" role="navigation" aria-label="<?php echo _AT('breadcrumb_links'); ?>">
<div id="breadcrumbs" tabindex="0" aria-label="<?php echo _AT('breadcrumb_links'); ?>">
Expand Down
2 changes: 1 addition & 1 deletion themes/default/include/header.tmpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@
</div>

</div>
<?php if (isset($_SESSION["prefs"]["PREF_SHOW_BREAD_CRUMBS"]) && $_SESSION["prefs"]["PREF_SHOW_BREAD_CRUMBS"] || $_SESSION['course_id'] = "-1") { ?>
<?php if (isset($_SESSION["prefs"]["PREF_SHOW_BREAD_CRUMBS"]) && $_SESSION["prefs"]["PREF_SHOW_BREAD_CRUMBS"] || $_SESSION['course_id'] == "-1") { ?>
<!-- the bread crumbs -->
<div class="crumbcontainer" role="navigation" aria-label="<?php echo _AT('breadcrumbs_links'); ?>">
<div id="breadcrumbs" tabindex="0" aria-label="<?php echo _AT('breadcrumb_links'); ?>">
Expand Down

0 comments on commit ef64e66

Please sign in to comment.