More HTML fixes
[platal.git] / plugins / function.display_education.php
index da0ea96..bbf4208 100644 (file)
@@ -62,7 +62,9 @@ function display_education($name, $url, $degree, $grad_year, $field, $program, $
             $txt .= $name;
         }
     }
-    $txt .= "</span>";
+    if ($grad_year || $field || $program) {
+        $txt .= "</span>";
+    }
 
     return $txt;
 }