1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-12 01:25:01 +02:00

Admin-UI: Display a debug message when no 'type' has been set.

This commit is contained in:
Cameron
2019-06-03 16:46:40 -07:00
parent 62863b4934
commit f0f6eb5d73
2 changed files with 7 additions and 1 deletions

View File

@@ -4816,6 +4816,12 @@ var_dump($select_options);*/
break;
}
if(empty($attributes['type']))
{
e107::getDebug()->log("Field '".$field."' is missing a value for 'type'.");
}
switch($attributes['type'])
{
case 'number':