1
0
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:
Cameron
2021-01-20 12:36:28 -08:00
parent ab75f150f8
commit 18546311e1
2 changed files with 5 additions and 4 deletions

View File

@@ -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)