From ebce6e597a95459dbe9b177aab4b71a6cff1aa7e Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Tue, 17 Aug 2010 11:23:14 +0200 Subject: fix error message when client is too old Signed-off-by: Florian Pritz --- system/application/controllers/file.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system') diff --git a/system/application/controllers/file.php b/system/application/controllers/file.php index ae0a51b06..2005d21bd 100644 --- a/system/application/controllers/file.php +++ b/system/application/controllers/file.php @@ -22,7 +22,7 @@ class File extends Controller { if (strpos($_SERVER['HTTP_USER_AGENT'], 'fb-client') !== false) { $client_version = substr($_SERVER['HTTP_USER_AGENT'], 10); if ($this->var->latest_client != $client_version) { - echo "Your are using an old client version. Latest is $this->var->latest_client.\n"; + echo "Your are using an old client version. Latest is ".$this->var->latest_client."\n"; } $this->var->cli_client = "fb-client"; } elseif (strpos($_SERVER['HTTP_USER_AGENT'], 'libcurl') !== false) { -- cgit v1.2.3-24-g4f1b