diff --git a/customindex/views/default/customindex/content.php b/customindex/views/default/customindex/content.php index c736ef9ebf4574b639e6f1c91bbaffc3195ec9ef..9e3b81881282efaf00bd73aecdd87e007b7e3235 100644 --- a/customindex/views/default/customindex/content.php +++ b/customindex/views/default/customindex/content.php @@ -164,7 +164,7 @@ else echo "'',"; echo "'" . $user->name . "',"; - if($user->profile_attended_from != "Did Not Attend UNL") + if($user->profile_attended_from != "Did Not Attend UNL" && $user->profile_attended_from != "" && $user->profile_attended_from != NULL) echo "'Attended UNL: " . $user->profile_attended_from . "-" . $user->profile_attended_to . "'"; else echo "''";