]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fixed PHP Notice "Undefined property: Profile::$value"
authorJeffery To <jeffery.to@gmail.com>
Tue, 4 Aug 2009 10:45:11 +0000 (18:45 +0800)
committerJeffery To <jeffery.to@gmail.com>
Tue, 4 Aug 2009 10:45:11 +0000 (18:45 +0800)
lib/profilesection.php

index 9ff243fb53fab479a7ebd9142032409cbab4366f..d463a07b0825e0d0bb69d2110173d99785e7b1e5 100644 (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);
         }