Project

General

Profile

Bug #15781 ยป fix2.diff

Administrator Admin, 2006-03-08 09:37

View differences:

class.t3lib_sqlparser.php 2006-03-08 09:34:32.000000000 +0100
$result = array();
// Field type:
if ($result['fieldType'] = $this->nextPart($parseString,'^(int|smallint|tinyint|mediumint|bigint|double|numeric|decimal|varchar|char|text|tinytext|mediumtext|longtext|blob|tinyblob|mediumblob|longblob)([[:space:],]+|\()')) {
if ($result['fieldType'] = $this->nextPart($parseString,'^(int|smallint|tinyint|mediumint|bigint|double|numeric|decimal|varchar|char|text|tinytext|mediumtext|longtext|blob|tinyblob|mediumblob|longblob|datetime|float)([[:space:],]+|\()')) {
// Looking for value:
if (substr($parseString,0,1)=='(') {
    (1-1/1)