diff --git a/ChangeLog b/ChangeLog index 7e4555124..7ccef809b 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,9 @@ phpMyAdmin - Changelog $Id$ $Source$ +2002-07-25 Loïc Chapeaux + * libraries/sqlparser.lib.php3: PHP3 parse errors fixed, + 2002-07-24 Robin Johnson * config.inc.php3: - Fix code to work around CSS bug in Mozilla/Konqueror with 'inherit' diff --git a/libraries/sqlparser.lib.php3 b/libraries/sqlparser.lib.php3 index c83cfa633..e29ea672e 100644 --- a/libraries/sqlparser.lib.php3 +++ b/libraries/sqlparser.lib.php3 @@ -101,7 +101,7 @@ if (!defined('PMA_SQP_LIB_INCLUDED')) { 6 => '<>', 7 => '>=', 8 => '>>', - 9 => '||', + 9 => '||' ); $allpunct_list_pair_size = 10; //count($allpunct_list_pair); $quote_list = "\'\"\`"; @@ -444,7 +444,7 @@ if (!defined('PMA_SQP_LIB_INCLUDED')) { 'list_tbl' => array(), 'list_tbl_alias' => array(), 'list_col' => array(), - 'list_col_alias' => array(), + 'list_col_alias' => array() ); $subresult_empty = $subresult; $seek_queryend = FALSE; @@ -757,9 +757,10 @@ if (!defined('PMA_SQP_LIB_INCLUDED')) { $str = '.' . $classname . ' {'; if($value != '') { $str .= $property . ': ' . $value . '; '; - } + } $str .= '}' . "\n"; - return $str; + + return $str; } // end of the "PMA_SQP_buildCssRule()" function