Navigation Menu

Skip to content

Commit

Permalink
Fixed issue #14316: Unable to delete old survey or token table
Browse files Browse the repository at this point in the history
Fixed issue : potential notice in checkintegrity
  • Loading branch information
Shnoulle committed Dec 4, 2018
1 parent 9be6100 commit e133fa5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion application/controllers/admin/checkintegrity.php
Expand Up @@ -48,7 +48,6 @@ public function index()

public function fixredundancy()
{

$oldsmultidelete = Yii::app()->request->getPost('oldsmultidelete', array());
$aData = [];
$aData['messages'] = array();
Expand Down
2 changes: 1 addition & 1 deletion application/views/admin/checkintegrity/check_view.php
Expand Up @@ -293,7 +293,7 @@
<br /> <?php eT("No database action required!"); ?>
<?php } else
{?>
<?php echo CHtml::form(array("admin/checkintegrity/fixredundancy"), 'post');?>
<?php echo CHtml::form(array("admin/checkintegrity",array('sa'=>'fixredundancy'), 'post');?>
<ul class='data-redundancy-list list-unstyled'>
<?php
if (isset($redundantsurveytables))
Expand Down
8 changes: 4 additions & 4 deletions application/views/admin/checkintegrity/fix_view.php
Expand Up @@ -5,13 +5,13 @@
<div class="jumbotron message-box">
<h2><?php eT("Data consistency check"); ?></h2>
<p class="lead"><?php eT("If errors are showing up you might have to execute this script repeatedly."); ?></p>
<p>
<?php if(!empty($messages)) { ?>
<ul>
<?php foreach ($messages as $sMessage) {?>
<li><?php echo $sMessage;?></li>
<li><?php echo $sMessage;?></li>
<?php } ?>
</ul>
</p>
</ul>
<?php } ?>
<p>
<a class="btn btn-lg btn-success" href='<?php echo $this->createUrl('admin/checkintegrity');?>'><?php eT("Check again"); ?></a>
</p>
Expand Down

0 comments on commit e133fa5

Please sign in to comment.