You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That is, the full function invocation returns the correct value, but the simpler $field->default_value convenience access incorrectly returns an empty string instead.
I am setting this to "minor" because there is a work around, but this bug took me several hours to track down in a plugin and may cause subtle and hard to solve bugs for plugin developers.
The text was updated successfully, but these errors were encountered:
Original ticket http://trac.elgg.org/ticket/979 on 39286481-02-03 by trac user kevinjardine, assigned to unknown.
Elgg version: 1.5
If a metadata string value happens to be set to "0", then the convenience access incorrectly returns "".
Eg.
returns
0,
That is, the full function invocation returns the correct value, but the simpler $field->default_value convenience access incorrectly returns an empty string instead.
I am setting this to "minor" because there is a work around, but this bug took me several hours to track down in a plugin and may cause subtle and hard to solve bugs for plugin developers.
The text was updated successfully, but these errors were encountered: