Fix powered by when tickets > 1, fix copy ticket

This commit is contained in:
Mike Koch 2016-11-30 21:49:15 -05:00
parent ba8d35d762
commit 63e969c0b6
2 changed files with 2 additions and 2 deletions

View File

@ -1263,7 +1263,7 @@ function hesk_getAdminButtons($category_id)
$linkText .= '&c_' . $k . '=' . $strippedCustomField;
}
}
$options .= '<a class="btn btn-default" href=""><i class="fa fa-copy fa-fw"></i> ' . $hesklang['copy_ticket'] . '</a> ';
$options .= '<a class="btn btn-default" href="' . $linkText . '"><i class="fa fa-copy fa-fw"></i> ' . $hesklang['copy_ticket'] . '</a> ';
/* Close/Reopen ticket link */
$random = rand(10000, 99999);

View File

@ -438,10 +438,10 @@ if ($total > 0) {
</td>
</tr>
</table>
</form>
<?php
echo '</div>';
} // END ticket list if total > 0
else {
echo '<div class="row"><div class="col-sm-12">';