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:
@@ -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':
|
||||
|
Reference in New Issue
Block a user