You are here

function nonzero in Dropdown Attributes 6

1 string reference to 'nonzero'
uc_dropdown_attributes_attribute_value_check in ./uc_dropdown_attributes.module

File

./uc_dropdown_attributes.module, line 303
Show/hide attributes based on the values of other attributes.

Code

function nonzero($var) {
  return $var != 0;
}