Parse better enum fields (bug #784154).
This commit is contained in:
@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
2003-08-06 Michal Cihar <nijel@users.sourceforge.net>
|
||||||
|
* libraries/common.lib.php3: Parse better enum fields (bug #784154).
|
||||||
|
|
||||||
2003-08-05 Garvin Hicking <me@supergarv.de>
|
2003-08-05 Garvin Hicking <me@supergarv.de>
|
||||||
* libraries/common.lib.php3: Moved docu function (PHP3 compatbility)
|
* libraries/common.lib.php3: Moved docu function (PHP3 compatbility)
|
||||||
(Bug #782966)
|
(Bug #782966)
|
||||||
|
@@ -1600,7 +1600,7 @@ h1 {font-family: sans-serif; font-size: large; font-weight: bold}
|
|||||||
*/
|
*/
|
||||||
function PMA_getEnumSetOptions($type_def) {
|
function PMA_getEnumSetOptions($type_def) {
|
||||||
$open = strpos($type_def, '(');
|
$open = strpos($type_def, '(');
|
||||||
$close = strpos($type_def, ')');
|
$close = strrpos($type_def, ')');
|
||||||
if (!$open || !$close) {
|
if (!$open || !$close) {
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user