[services-cvs] CVS services/etc/misc
CVS User miham
root at tempel.bibl.u-szeged.hu
2004. Nov. 23., K, 21:10:09 CET
Update of /var/lib/cvs/services/etc/misc
In directory tempel:/tmp/cvs-serv16949
Modified Files:
listDB.php
Log Message:
Another fix:
* Fixed the bug when used short display w/o explicitly setting the fields
caused empty listing
--- /var/lib/cvs/services/etc/misc/listDB.php 2004/11/23 20:06:57 1.2
+++ /var/lib/cvs/services/etc/misc/listDB.php 2004/11/23 20:10:09 1.3
@@ -33,8 +33,14 @@
case '-S':
$params['display'] = 'short';
if (!isset($params['fields'])) {
- $params['fields'] = array("room", "user", "host", "subd", "mac");
+ $fields = array("room", "user", "host", "subd", "mac");
}
+ $fieldlens = array();
+ foreach ($fields as $actf) {
+ $fieldlens[] = get_param_length($actf);
+ }
+ $params['fields'] = $fields;
+ $params['fieldlens'] = $fieldlens;
break;
case '--fields':
További információk a(z) Services-cvs levelezőlistáról