Allow SQL queries with long field list to wrap
authorNiklas Laxström <niklas.laxstrom@gmail.com>
Sat, 8 Dec 2012 12:12:34 +0000 (12:12 +0000)
committerNiklas Laxström <niklas.laxstrom@gmail.com>
Sat, 8 Dec 2012 12:12:34 +0000 (12:12 +0000)
Change-Id: I7ed64a246455a7f2c48e7e120d45d1ebeb929584

profileinfo.php

index 4787594..0e4131b 100644 (file)
@@ -214,7 +214,7 @@ class profile_point {
                ?>
                <tr>
                <th><div style="margin-left: <?php echo (int)$indent; ?>em;">
-                       <?php echo htmlspecialchars( $this->name() ) . $extet ?>
+                       <?php echo htmlspecialchars( str_replace( ',', ', ', $this->name() ) ) . $extet ?>
                </div></th>
                <td class="mw-profileinfo-timep"><?php echo @wfPercent( $this->time() / self::$totaltime * 100 ); ?></td>
                <td class="mw-profileinfo-memoryp"><?php echo @wfPercent( $this->memory() / self::$totalmemory * 100 ); ?></td>