#
# COPYRIGHT:
#
-# This software is Copyright (c) 1996-2012 Best Practical Solutions, LLC
+# This software is Copyright (c) 1996-2017 Best Practical Solutions, LLC
# <sales@bestpractical.com>
#
# (Except where explicitly superseded by other copyright notices)
return $num unless @forms;
return $forms[3] if !$num && $forms[3];
- return $num .' '. $handle->numerate($num, @forms);
+ return $handle->numf($num) .' '. $handle->numerate($num, @forms);
}
sub numerate {
} else {
$form = 2;
}
- return $forms[$form];
+ return $forms[$form] || (grep defined, @forms)[0];
}
RT::Base->_ImportOverlays();