From 4550afba5161184d9a101bede045b8db8e33feb2 Mon Sep 17 00:00:00 2001 From: deuce <> Date: Wed, 1 Dec 2004 00:08:27 +0000 Subject: [PATCH] Display 0 expiration date as "Never" --- web/templates/userstats.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/templates/userstats.inc b/web/templates/userstats.inc index fc4515c32a..4d31387a30 100644 --- a/web/templates/userstats.inc +++ b/web/templates/userstats.inc @@ -11,7 +11,7 @@ Expire: </td> <td> - %%JS:strftime("%m/%d/%y",user.security.expiration_date)%% + %%JS:user.security.expiration_date?strftime("%m/%d/%y",user.security.expiration_date):"Never"%% </td> <td> Last on: -- GitLab