string_util_pkg.str_to_bool_str now leverages string_util_pkg.str_to_bool in order to reduce code redundancy

This commit is contained in:
Matthew Hasbach 2015-05-12 17:50:06 -04:00
parent 42b5cd2e6f
commit d3af944d27

View File

@ -694,10 +694,11 @@ begin
Who Date Description
------ ---------- -------------------------------------
MBR 06.01.2009 Created
MJH 12.05.2015 Leverage string_util_pkg.str_to_bool in order to reduce code redundancy
*/
if lower(p_str) in ('y', 'yes', 'true', '1') then
if str_to_bool(p_str) then
l_returnvalue := g_yes;
end if;