Fix powered by when tickets > 1, fix copy ticket

merge-requests/31/head
Mike Koch 8 years ago
parent ba8d35d762
commit 63e969c0b6

@ -1263,7 +1263,7 @@ function hesk_getAdminButtons($category_id)
$linkText .= '&c_' . $k . '=' . $strippedCustomField; $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 */ /* Close/Reopen ticket link */
$random = rand(10000, 99999); $random = rand(10000, 99999);

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

Loading…
Cancel
Save