summaryrefslogtreecommitdiff
path: root/lib/profilesection.php
diff options
context:
space:
mode:
authorJeffery To <jeffery.to@gmail.com>2009-08-04 18:45:11 +0800
committerJeffery To <jeffery.to@gmail.com>2009-08-04 18:45:11 +0800
commit0155d02cecae565e0709a7bd0c8d1b62dd80d9bc (patch)
tree7720ef6dd59988ee69ff0340ed52e36d81c8fb40 /lib/profilesection.php
parentff6e976d0315c57fc5b7e31845e9a3bad4f095bc (diff)
Fixed PHP Notice "Undefined property: Profile::$value"
Diffstat (limited to 'lib/profilesection.php')
-rw-r--r--lib/profilesection.php2
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);
}