Print the year only if it is present - gophercgis - Collection of gopher CGI/DCGI for geomyidae
(HTM) hg clone https://bitbucket.org/iamleot/gophercgis
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) changeset d90fe42dea905fe9ee8aecdc86c31ed890335a1e
(DIR) parent cad9380f0115c1cdec4ee19d1502bf33dd3209b4
(HTM) Author: Leonardo Taccari <iamleot@gmail.com>
Date: Thu, 13 Sep 2018 14:19:41
Print the year only if it is present
Diffstat:
raiplay/elenco-programmi.dcgi | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff -r cad9380f0115 -r d90fe42dea90 raiplay/elenco-programmi.dcgi
--- a/raiplay/elenco-programmi.dcgi Thu Sep 13 13:27:35 2018 +0200
+++ b/raiplay/elenco-programmi.dcgi Thu Sep 13 14:19:41 2018 +0200
@@ -20,7 +20,9 @@
pathid = $4
desc = title
- desc = desc " (" year ")"
+ if (year) {
+ desc = desc " (" year ")"
+ }
if (tipology) {
desc = desc " - " tipology
}