summaryrefslogtreecommitdiffstats
path: root/application/controllers
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2011-11-18 11:46:59 +0100
committerFlorian Pritz <bluewind@xinu.at>2011-11-18 11:46:59 +0100
commit549d7b328eeba40fd85577ef76cf8567de374d6c (patch)
tree3407e3c9f7e0eb2dedf8211fd9fe72fccdc55f0d /application/controllers
parenta743797e2cade4c4f354daf13e036529a8a76537 (diff)
don't display "latest client" link if there is no client
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/controllers')
-rw-r--r--application/controllers/file.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/controllers/file.php b/application/controllers/file.php
index ca8e62f3f..814464ade 100644
--- a/application/controllers/file.php
+++ b/application/controllers/file.php
@@ -61,7 +61,7 @@ class File extends CI_Controller {
if ($this->var->latest_client) {
$data['client_link'] = base_url().'data/client/fb-'.$this->var->latest_client.'.tar.gz';
} else {
- $data['client_link'] = "none";
+ $data['client_link'] = false;
}
$data['client_link_dir'] = base_url().'data/client/';
$data['client_link_deb'] = base_url().'data/client/deb/';