cvs: phpweb / bugstats.php

From: Date: Tue, 28 Nov 2000 14:46:10 +0000
Subject: cvs: phpweb / bugstats.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-2992@lists.php.net to get a copy of this message
sniper Tue Nov 28 06:46:10 2000 EDT Modified files: /phpweb bugstats.php Log: Missed the version select in url. Index: phpweb/bugstats.php diff -u phpweb/bugstats.php:1.14 phpweb/bugstats.php:1.15 --- phpweb/bugstats.php:1.14 Tue Nov 28 06:26:22 2000 +++ phpweb/bugstats.php Tue Nov 28 06:46:10 2000 @@ -139,13 +139,14 @@ reset($bug_type); function sort_url($type) { - global $sort_by,$rev; + global $sort_by,$rev,$phpver; if($type == $sort_by) { $reve = ($rev == 1) ? 0 : 1; } else { $reve = 1; } - return '<A href="./bugstats.php?sort_by='.$type.'&amp;rev='.$reve.'">'.ucfirst($type).'</a>'; + $ver = ($phpver != 0) ? "phpver=$phpver&amp;" : ''; + return '<A href="./bugstats.php?'.$ver.'sort_by='.$type.'&amp;rev='.$reve.'">'.ucfirst($type).'</a>'; } echo "<tr bgcolor=#aabbcc><th align=right>Total bug entries in system:</th><td>$total</td>";

« previous php.mirrors (#2992) next »