From 0c8b665304a514d17bf72d0d2f6b11fa24c547cb Mon Sep 17 00:00:00 2001 From: Mike Cao Date: Mon, 12 Jan 2015 23:33:36 -0800 Subject: [PATCH] Bump version. Minor syntax update. --- VERSION | 2 +- flight/net/Response.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/VERSION b/VERSION index 9d4f823..963ed7c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.2.9 +1.2.10 diff --git a/flight/net/Response.php b/flight/net/Response.php index 5e3a998..db66c16 100644 --- a/flight/net/Response.php +++ b/flight/net/Response.php @@ -236,8 +236,8 @@ class Response { } // Send content length - if( ($length = strlen($this->body)) > 0) { - header("Content-Length: $length"); + if (($length = strlen($this->body)) > 0) { + header('Content-Length: '.$length); } return $this;