]> granicus.if.org Git - php/commitdiff
- Fix compile bug in session_get_cookie_params()
authorAndi Gutmans <andi@php.net>
Thu, 30 Mar 2000 22:21:23 +0000 (22:21 +0000)
committerAndi Gutmans <andi@php.net>
Thu, 30 Mar 2000 22:21:23 +0000 (22:21 +0000)
ext/session/session.c

index b3b09e800785ca02b2ae0e0d9766cc34f5dd2fc2..ef7201dd9a8f87c7e0028c481cd929ca9046929e 100644 (file)
@@ -889,9 +889,9 @@ PHP_FUNCTION(session_get_cookie_params)
                RETURN_FALSE;
        }
 
-       add_assoc_string(return_value, "lifetime", PS(cookie_lifetime));
-       add_assoc_string(return_value, "path", PS(cookie_path));
-       add_assoc_string(return_value, "domain", PS(cookie_domain));
+       add_assoc_string(return_value, "lifetime", PS(cookie_lifetime), 1);
+       add_assoc_string(return_value, "path", PS(cookie_path), 1);
+       add_assoc_string(return_value, "domain", PS(cookie_domain), 1);
 }
 /* }}} */