Skip to content

Commit

Permalink
Fixed issue: Breaking updatedb through missing table
Browse files Browse the repository at this point in the history
  • Loading branch information
lacrioque committed Dec 27, 2017
1 parent 952e616 commit e9671b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/views/admin/super/_tutorial_menu.php
@@ -1,5 +1,5 @@
<?php
$aTutorials = Tutorials::model()->getActiveTutorials();
$aTutorials = @Tutorials::model()->getActiveTutorials();
?>

<li class="dropdown">
Expand Down

2 comments on commit e9671b1

@c-schmitz
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a bad fix. UpdateDB should instead always log out first if the admin is logged in. Please amend.

@LouisGac
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We just spoke about it. The correct solution seems not to use renderWrappedTemplate for dbupgrade process.

Please sign in to comment.