frapi/frapi — pull request #124 by Max13 (2012-04-12 08:00:26+00:00)
Title: Updated getByKey() in src/frapi/library/Frapi/Action.php to return the default value (null) without casting it if empty or !isset()

Previously, passing an empty non-required param to getParam(), returned the default value (null) casted as aksed to getParam(), so $value == NULL, would never happen.
Now, it will return the default value, without casting it.

When "$param == $default", I think it souldn't pass in the switch.