From 7da5ed8d20da75b57d1c2530d872330f35b4e525 Mon Sep 17 00:00:00 2001 From: Olivier Berten Date: Fri, 15 Jan 2016 10:23:52 +0100 Subject: [PATCH] Display usage only when it's set --- chant.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chant.php b/chant.php index fd6d602..4407bbf 100644 --- a/chant.php +++ b/chant.php @@ -98,7 +98,7 @@ if($req->num_rows > 0) { } if($c['version'] > '') echo '

Version

\n"; -echo '

Usage

\n"; +if($c['office-part'] > '') echo '

Usage

\n"; $tags = array(); $sql = 'SELECT * FROM '.db('chant_tags').' WHERE chant_id = '.$id;