www: 83993d99: Make "Summary" optional. I don't like t...

markdoliner at pidgin.im markdoliner at pidgin.im
Sun Aug 7 03:41:52 EDT 2011


----------------------------------------------------------------------
Revision: 83993d9941db137ea69be8567964123712d1ad95
Parent:   a3982e4e859741e542fb3d764d703b1fb9773f70
Author:   markdoliner at pidgin.im
Date:     08/07/11 03:37:57
Branch:   im.pidgin.www
URL: http://d.pidgin.im/viewmtn/revision/info/83993d9941db137ea69be8567964123712d1ad95

Changelog: 

Make "Summary" optional.  I don't like that we have Summary and Description
fields here.  They serve basically the same purpose and I always feel like
I'm repeating myself.

Changes against parent a3982e4e859741e542fb3d764d703b1fb9773f70

  patched  htdocs/news/security/index.php

-------------- next part --------------
============================================================
--- htdocs/news/security/index.php	039a15b12a1eb382356e5e027a88a3dcdbe2c1e8
+++ htdocs/news/security/index.php	c266a581a556261fb9b8508958db0bb28f2f2932
@@ -570,7 +570,6 @@ $vulnerabilities = array(
 		"title"        => "",
 		"date"         => "",
 		"cve"          => "",
-		"summary"      => "",
 		"description"  => "",
 		"fix"          => "",
 		"fixrevisions" => "",
@@ -681,7 +680,13 @@ if ($stop > 0) {
 	}
   ?>
   <tr><th>Discovered By</th><td><?php echo $vun['discoveredby'] ?></td></tr>
+  <?php
+    if (!empty($vun['summary'])) {
+  ?>
   <tr><th>Summary</th><td><?php echo $vun['summary'] ?></td></tr>
+  <?php
+    }
+  ?>
   <tr><th>Description</th><td><?php echo $vun['description'] ?></td></tr>
 
   <?php


More information about the Commits mailing list