From: Jeffery To Date: Tue, 4 Aug 2009 10:45:11 +0000 (+0800) Subject: Fixed PHP Notice "Undefined property: Profile::$value" X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0155d02cecae565e0709a7bd0c8d1b62dd80d9bc;p=quix0rs-gnu-social.git Fixed PHP Notice "Undefined property: Profile::$value" --- diff --git a/lib/profilesection.php b/lib/profilesection.php index 9ff243fb53..d463a07b08 100644 --- a/lib/profilesection.php +++ b/lib/profilesection.php @@ -97,7 +97,7 @@ class ProfileSection extends Section $this->out->elementEnd('a'); $this->out->elementEnd('span'); $this->out->elementEnd('td'); - if ($profile->value) { + if (isset($profile->value)) { $this->out->element('td', 'value', $profile->value); }