From 6840ca8b3110001cdb11172335fe9dc2937b67f3 Mon Sep 17 00:00:00 2001 From: Vladimir Kolesnikov Date: Thu, 24 Oct 2013 04:46:09 +0300 Subject: [PATCH] Fix #1428 --- ext/http/cookie.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/http/cookie.c b/ext/http/cookie.c index 703228145dd..6ce29a4b3ae 100644 --- a/ext/http/cookie.c +++ b/ext/http/cookie.c @@ -873,9 +873,9 @@ PHP_METHOD(Phalcon_Http_Cookie, __toString){ } } + convert_to_string(return_value_ptr ? *return_value_ptr : return_value); return; } RETURN_ZVAL(value, 1, 0); } -