From d3af944d273b5a03fee92e04de2618807d8077eb Mon Sep 17 00:00:00 2001 From: Matthew Hasbach Date: Tue, 12 May 2015 17:50:06 -0400 Subject: [PATCH] string_util_pkg.str_to_bool_str now leverages string_util_pkg.str_to_bool in order to reduce code redundancy --- ora/string_util_pkg.pkb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ora/string_util_pkg.pkb b/ora/string_util_pkg.pkb index de009e6..028e4d8 100755 --- a/ora/string_util_pkg.pkb +++ b/ora/string_util_pkg.pkb @@ -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;