[Koha-bugs] [Bug 11474] Remove experimental given/when from C4::Utils::Datatables

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Jan 5 08:57:09 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11474

Chris Cormack <chris at bigballofwax.co.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #23899|0                           |1
        is obsolete|                            |

--- Comment #2 from Chris Cormack <chris at bigballofwax.co.nz> ---
Created attachment 23906
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=23906&action=edit
Bug 11474: Remove errors caused by use of switch

Have replaced a switch statement by an if so we
do not get warnings on compilation

Note the perldoc for the subroutine was not correct
code was not testing that paramater equalled the values
but that it contained them. Have amended accordingly
Have documented behaviour in case parameter contains
neither value.
subroutine does not appear to me used elsewhere in
codebase

Signed-off-by: Chris Cormack <chris at bigballofwax.co.nz>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list