Support » Plugin: AVH Extended Categories Widgets » [PATCH] Undefined offset warning

  • Resolved flynsarmy

    (@flynsarmy)


    When updating a category I got a warning:

    Notice: Undefined offset: 16 in /path/wp/extended-categories-widget/3.3/class/avh-ec.admin.php on line 130

    Update is simple enough. Change

    if (isset($_POST['avhec_categorygroup']) && $tax_meta[$taxonomy][$term_id]['category_group_term_id'] != $_POST['avhec_categorygroup']) {

    to

    if (isset($_POST['avhec_categorygroup']) && isset($tax_meta[$taxonomy][$term_id]['category_group_term_id']) && $tax_meta[$taxonomy][$term_id]['category_group_term_id'] != $_POST['avhec_categorygroup']) {

    http://wordpress.org/extend/plugins/extended-categories-widget/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[PATCH] Undefined offset warning’ is closed to new replies.