mirror of
https://github.com/e107inc/e107.git
synced 2025-04-21 13:11:52 +02:00
Fixes #4257 - Plugin Builder field type detection fix.
This commit is contained in:
parent
30330bcaaa
commit
a9084944d2
@ -5026,11 +5026,10 @@ TEMPLATE;
|
||||
$strings = array('time','timestamp','datetime','year','tinyblob','blob',
|
||||
'mediumblob','longblob','tinytext','mediumtext','longtext','text','date');
|
||||
|
||||
|
||||
$type = strtolower($type);
|
||||
|
||||
|
||||
|
||||
|
||||
if(in_array(strtolower($type),$strings))
|
||||
if(in_array($type,$strings))
|
||||
{
|
||||
$value = 'str';
|
||||
}
|
||||
@ -5043,8 +5042,6 @@ TEMPLATE;
|
||||
$value = 'int';
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
$fname = $this->table."[fields][".$name."][data]";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user