mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +01:00
Trying to cleanup a few warnings.
This commit is contained in:
parent
bb54fd50a9
commit
8dc98a7ae0
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user