mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Remove notice about empty field data
This commit is contained in:
@@ -543,10 +543,10 @@ class usersettings_shortcodes extends e_shortcode
|
||||
$ue = e107::getUserExt();
|
||||
$data = (array) $ue->getFields($cat);
|
||||
|
||||
if(empty($data))
|
||||
{
|
||||
trigger_error('$data was empty', E_USER_NOTICE);
|
||||
}
|
||||
// if(empty($data))
|
||||
// {
|
||||
// trigger_error('$data was empty', E_USER_NOTICE);
|
||||
// }
|
||||
|
||||
$this->fieldInfo = [];
|
||||
foreach($data as $k => $row)
|
||||
|
Reference in New Issue
Block a user