Trying to cleanup a few warnings.

This commit is contained in:
skeeter 2001-06-18 03:09:56 +00:00
parent bb54fd50a9
commit 8dc98a7ae0

View File

@ -153,9 +153,11 @@ class calendar extends calendar_
{ {
$db->next_record(); $db->next_record();
$fullname = $db->f('account_lid'); $fullname = $db->f('account_lid');
if($db->f('account_lastname') && $db->f('account_firstname')) $lname = $db->f('account_lastname');
$fname = $db->f('account_firstname');
if($lname && $fname)
{ {
$fullname = $db->f('account_lastname').', '.$db->f('account_firstname'); $fullname = $lname.', '.$fname;
} }
return $fullname; return $fullname;
} }