• Resolved Hanz17

    (@hanz17)


    Hello,

    I find this problem.
    In function ‘hb_dropdown_numbers’ is wrong value.
    File: wphb-functions.php

    now
    $output .= sprintf( '<option value="%1$d"%2$s>%3$d</option>', $option['value'], $selected == $option['value'] ? ' selected="selected"' : '', $option['text'] );
    value="%1$d"

    repair
    $output .= sprintf( '<option value="%3$d"%2$s>%3$d</option>', $option['value'], $selected == $option['value'] ? ' selected="selected"' : '', $option['text'] );

    value="%3$d"

    Image

    Jan

    • This topic was modified 7 years, 2 months ago by Hanz17.
Viewing 1 replies (of 1 total)
  • Plugin Contributor Lee

    (@leehld)

    Hello @hanz17,

    It’s not wrong value, adults dropdown has value is id of each capacity and label is number people in the capacity.

    Best Regards,

    Lee

Viewing 1 replies (of 1 total)
  • The topic ‘Bad value at search form’ is closed to new replies.