Skip to content

Commit

Permalink
fix edit missing on new group
Browse files Browse the repository at this point in the history
  • Loading branch information
selul committed Sep 25, 2024
1 parent e828d55 commit e99ca9c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion templates/admin/ppom-fields.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@
$product_meta = array();
$ppom_field_index = 1;
$is_edit_screen = false;

if ( $_REQUEST ['action'] == 'new' ) {
$is_edit_screen = true;
}
if ( isset( $_REQUEST ['productmeta_id'] ) && $_REQUEST ['do_meta'] == 'edit' ) {

$product_meta_id = intval( $_REQUEST ['productmeta_id'] );
Expand Down

0 comments on commit e99ca9c

Please sign in to comment.