cvs: php-bugs-web / report.php

From: Date: Sun, 03 Feb 2002 13:27:26 +0000
Subject: cvs: php-bugs-web / report.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-8470@lists.php.net to get a copy of this message
goba Sun Feb 3 08:27:26 2002 EDT Modified files: /php-bugs-web report.php Log: If this did not work with sprintf() it should work with str_pad() at leat :) Index: php-bugs-web/report.php diff -u php-bugs-web/report.php:1.12 php-bugs-web/report.php:1.13 --- php-bugs-web/report.php:1.12 Sun Feb 3 07:53:05 2002 +++ php-bugs-web/report.php Sun Feb 3 08:27:25 2002 @@ -52,7 +52,8 @@ } foreach ($RESOLVE_REASONS as $k => $v) { if (!$v['webonly']) - $dev_extra .= sprintf("%{$maxkeysize}s: http://bugs.php.net/fix.php?id=$cid&r=$k\n", $v[desc]); + $dev_extra .= str_pad($v[desc], $maxkeysize) . + ": http://bugs.php.net/fix.php?id=$cid&r=$k\n"; } # mail to appropriate mailing lists

« previous php.mirrors (#8470) next »