diff options
author | Jeffery To <jeffery.to@gmail.com> | 2009-08-04 18:45:11 +0800 |
---|---|---|
committer | Jeffery To <jeffery.to@gmail.com> | 2009-08-04 18:45:11 +0800 |
commit | 0155d02cecae565e0709a7bd0c8d1b62dd80d9bc (patch) | |
tree | 7720ef6dd59988ee69ff0340ed52e36d81c8fb40 | |
parent | ff6e976d0315c57fc5b7e31845e9a3bad4f095bc (diff) |
Fixed PHP Notice "Undefined property: Profile::$value"
-rw-r--r-- | lib/profilesection.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/profilesection.php b/lib/profilesection.php index 9ff243fb5..d463a07b0 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); } |