From b5d3c5ca8dee6303498849448e3574cc3642eeea Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Wed, 4 Feb 2015 17:38:02 +0100 Subject: [PATCH] follow up fix for headers sent, checking a reference would be always true as well --- ext/standard/head.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/standard/head.c b/ext/standard/head.c index a8daf1e4ef..60b88ec24b 100644 --- a/ext/standard/head.c +++ b/ext/standard/head.c @@ -281,7 +281,7 @@ PHP_FUNCTION(headers_list) return; } - if (!&SG(sapi_headers).headers.count) { + if (!SG(sapi_headers).headers.count) { RETURN_FALSE; } array_init(return_value); -- 2.40.0