Commit: 1e236800a8acf606e850c503bb9bf23110b1775d Author: Hannes Magnusson <[email protected]> Wed, 5 Feb 2014 17:44:59 -0800 Parents: 731a0e3492c08374b66c891f890615471c4bcce9 Branches: master
Link: http://git.php.net/?p=web/bugs.git;a=commitdiff;h=1e236800a8acf606e850c503bb9bf23110b1775d Log: Fix notices (undefined constants) Changed paths: M www/stats.php Diff: diff --git a/www/stats.php b/www/stats.php index 3762f6f..423c3ef 100644 --- a/www/stats.php +++ b/www/stats.php @@ -164,11 +164,11 @@ while ($row = $result->fetchRow(MDB2_FETCHMODE_ASSOC)) { echo "</table>\n\n"; } echo "<table style='float:left; margin-right:20px'>\n". - "<tr><th colspan='2' class='bug_header'>{$row[d]}</th></tr>\n"; + "<tr><th colspan='2' class='bug_header'>{$row["d"]}</th></tr>\n"; $last_date = $row['d']; } - $version = htmlentities($row[formatted_version], ENT_QUOTES, 'UTF-8'); - echo "<tr><td class='bug_head'>{$version}</td><td class='bug_bg1'>{$row[quant]}</td></tr>\n"; + $version = htmlentities($row["formatted_version"], ENT_QUOTES, 'UTF-8'); + echo "<tr><td class='bug_head'>{$version}</td><td class='bug_bg1'>{$row["quant"]}</td></tr>\n"; } if ($last_date) { echo "</table>\n"; -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
