From: Zeev Suraski Date: Mon, 22 Jan 2001 01:10:21 +0000 (+0000) Subject: Sigh. Even less sleep than I thought :) Really fix it this time. X-Git-Tag: php-4.0.5RC1~499 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3793dc18f21751cc651c04c1e68076ab36cece03;p=php Sigh. Even less sleep than I thought :) Really fix it this time. --- diff --git a/sapi/apache/mod_php4.c b/sapi/apache/mod_php4.c index c638cdc848..6853b2c674 100644 --- a/sapi/apache/mod_php4.c +++ b/sapi/apache/mod_php4.c @@ -250,7 +250,7 @@ static void sapi_apache_register_server_variables(zval *track_vars_array ELS_DC } if (symbol_table && !zend_hash_exists(symbol_table, "PATH_TRANSLATED", sizeof("PATH_TRANSLATED")) - && zend_hash_find(symbol_table, "SCRIPT_FILENAME", sizeof("SCRIPT_FILENAME"), (void **) &path_translated)=SUCCESS) { + && zend_hash_find(symbol_table, "SCRIPT_FILENAME", sizeof("SCRIPT_FILENAME"), (void **) &path_translated)==SUCCESS) { php_register_variable("PATH_TRANSLATED", Z_STRVAL_PP(path_translated), track_vars_array ELS_CC PLS_CC); }