1
0
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:
Cameron 2020-11-02 10:41:39 -08:00
parent 30330bcaaa
commit a9084944d2

View File

@ -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]";