Skip to content

Commit

Permalink
Merge pull request #512 from herbdool/issue-511
Browse files Browse the repository at this point in the history
Issue #511: fix operations links for product classes
  • Loading branch information
bugfolder authored Nov 11, 2024
2 parents f5b5126 + 4c0e5b7 commit b1aad97
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion uc_product/uc_product.admin.inc
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ function uc_product_class_default() {
$header = array(t('Class ID'), t('Name'), t('Description'), t('Operations'));
$rows = array();
foreach ($classes as $class) {
$links = array();
$links[] = array(
'title' => t('edit'),
'href' => 'admin/store/products/classes/' . $class->pcid . '/edit',
Expand Down Expand Up @@ -135,7 +136,7 @@ function uc_product_settings_form($form, &$form_state) {
// If we have widgets installed, add option to not use any of them
$options['none'] = t("Don't use any image widgets.");
}

$form['product']['uc_product_image_widget'] = array(
'#type' => 'radios',
'#title' => t('Product image widget'),
Expand Down

0 comments on commit b1aad97

Please sign in to comment.