X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FElements%2FSelectTimeUnits;h=4f500d6bdff81cc55a69744586d23fda9e8d2436;hb=5b5eb87bf66f1fac003a13dc2db48e8970c5c986;hp=e548af43b08889e36e1a52b9b9c206cd80258194;hpb=e9e0cf0989259b94d9758eceff448666a2e5a5cc;p=freeside.git diff --git a/rt/share/html/Elements/SelectTimeUnits b/rt/share/html/Elements/SelectTimeUnits index e548af43b..4f500d6bd 100755 --- a/rt/share/html/Elements/SelectTimeUnits +++ b/rt/share/html/Elements/SelectTimeUnits @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2014 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2017 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -46,17 +46,17 @@ %# %# END BPS TAGGED BLOCK }}} <%INIT> $Name .= '-TimeUnits' unless $Name =~ /-TimeUnits$/io; -my $HoursDefault = RT->Config->Get('DefaultTimeUnitsToHours', $session{'CurrentUser'}); <%ARGS> $Name => '' +$Default => RT->Config->Get('DefaultTimeUnitsToHours', $session{'CurrentUser'}) ? 'hours' : 'minutes'