1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-02 04:40:44 +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

@@ -5027,10 +5027,9 @@ TEMPLATE;
'mediumblob','longblob','tinytext','mediumtext','longtext','text','date');
$type = strtolower($type);
if(in_array(strtolower($type),$strings))
if(in_array($type,$strings))
{
$value = 'str';
}
@@ -5044,8 +5043,6 @@ TEMPLATE;
}
$fname = $this->table."[fields][".$name."][data]";
return $frm->hidden($fname, $value). "<a href='#' class='e-tip' title='{$type}' >".$value."</a>" ;