mageplus/mageplus — pull request #117 by tim-reynolds-briteskies (2012-08-30 19:35:03+00:00)
Title: Bug - In Mage_Eav_Model_Attribute_Data_Text:67

The call to empty($value) returns true of the value is '0' (The string of the character zero). This prevents you from setting a required text field to zero, which should be a valid value.

Action:
Create a required text attribute on a product. Assign to an attribute set. Go to edit a product. Set the value to zero. Try to save the product.
Expected: Saves the product.
Actual: Error stating {attribute_name} is a required value.

Simple fix. Worried the use of empty() having other side effects.