libraries/sqlparser.lib.php3:
- Fix strpos on line 168/169 to work with PHP3
This commit is contained in:
@@ -6,9 +6,13 @@ $Id$
|
||||
$Source$
|
||||
|
||||
2002-07-24 Robin Johnson <robbat2@users.sourceforge.net>
|
||||
* config.inc.php3, libraries/sqlparser.lib.php3:
|
||||
* config.inc.php3:
|
||||
- Fix code to work around CSS bug in Mozilla/Konqueror with 'inherit'
|
||||
value.
|
||||
* libraries/sqlparser.lib.php3:
|
||||
- Fix code to work around CSS bug in Mozilla/Konqueror with 'inherit'
|
||||
value.
|
||||
- Fix strpos on line 168/169 to work with PHP3
|
||||
|
||||
2002-07-25 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* Documentation.html, clarify about mysql extensions
|
||||
|
@@ -165,9 +165,9 @@ if (!defined('PMA_SQP_LIB_INCLUDED')) {
|
||||
$oldpos = 0;
|
||||
do {
|
||||
$oldpos = $pos;
|
||||
$pos = strpos($sql, $quotetype, $oldpos);
|
||||
$pos = strpos(' ' . $sql, $quotetype, $oldpos + 1) - 1;
|
||||
// ($pos === FALSE)
|
||||
if (!is_integer($pos)) {
|
||||
if ($pos < 0) {
|
||||
trigger_error('Syntax: Unclosed quote (' . $quotetype . ') at ' . $startquotepos);
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user