Little code reorganistaion (RFE #957308), removed some remaining php3 compatibility code in SQL parser.
This commit is contained in:
@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
|
||||
$Id$
|
||||
$Source$
|
||||
|
||||
2004-05-20 Michal Čihař <michal@cihar.com>
|
||||
* many files: Little code reorganistaion (RFE #957308), removed some
|
||||
remaining php3 compatibility code in SQL parser.
|
||||
|
||||
2004-05-20 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* pdf_schema.php: set contents page (first page)'s orientation
|
||||
to the same asked for the data dictionary
|
||||
|
@@ -672,9 +672,7 @@ if ($is_minimum_common == FALSE) {
|
||||
if (strcmp($whatWeWant, $toCheck) == 0) {
|
||||
return TRUE;
|
||||
} else {
|
||||
//if(strpos($whatWeWant, $typeSeperator) === FALSE) {
|
||||
// PHP3 compatible (works unless there is a real ff character)
|
||||
if(!strpos("\xff" . $whatWeWant, $typeSeperator)) {
|
||||
if (strpos($whatWeWant, $typeSeperator) === FALSE) {
|
||||
return strncmp($whatWeWant, $toCheck , strpos($toCheck, $typeSeperator)) == 0;
|
||||
} else {
|
||||
return FALSE;
|
||||
|
Reference in New Issue
Block a user