Fixed PHP Notice "Undefined property: Profile::$value"

This commit is contained in:
Jeffery To 2009-08-04 18:45:11 +08:00
parent ff6e976d03
commit 0155d02cec

View File

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