diff options
Diffstat (limited to 'application/controllers/file.php')
-rw-r--r-- | application/controllers/file.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/application/controllers/file.php b/application/controllers/file.php index 1cff27fa9..13787eeb6 100644 --- a/application/controllers/file.php +++ b/application/controllers/file.php @@ -58,7 +58,9 @@ class File extends CI_Controller { function client() { $data['title'] = 'Client'; - $data['client_link'] = base_url().'data/client/fb-'.$this->var->latest_client.'.tar.gz'; + if ($this->var->latest_client) { + $data['client_link'] = base_url().'data/client/fb-'.$this->var->latest_client.'.tar.gz'; + } $data['client_link_dir'] = base_url().'data/client/'; $data['client_link_deb'] = base_url().'data/client/deb/'; $data['client_link_slackware'] = base_url().'data/client/slackware/'; |