rfe #3148361 [interface] Replace hard coded limit with $cfg[LimitChars].

This commit is contained in:
Michal Čihař
2011-02-08 22:03:18 +01:00
parent 914692f565
commit 677e5a5da7
2 changed files with 3 additions and 2 deletions

View File

@@ -135,6 +135,7 @@
- [interface] Default to not count tables in database. - [interface] Default to not count tables in database.
- patch #3172172 [interface] Shortcut for copying table row. - patch #3172172 [interface] Shortcut for copying table row.
- bug #3175227 [auth] Reset user cache on login. - bug #3175227 [auth] Reset user cache on login.
- rfe #3148361 [interface] Replace hard coded limit with $cfg['LimitChars'].
3.3.10.0 (not yet released) 3.3.10.0 (not yet released)
- patch #3147400 [structure] Aria table size printed as unknown, - patch #3147400 [structure] Aria table size printed as unknown,

View File

@@ -899,8 +899,8 @@ foreach ($rows as $row_id => $vrow) {
<?php <?php
} else { } else {
// field size should be at least 4 and max 40 // field size should be at least 4 and max $cfg['LimitChars']
$fieldsize = min(max($field['len'], 4), 40); $fieldsize = min(max($field['len'], 4), $cfg['LimitChars']);
echo "\n"; echo "\n";
echo $backup_field . "\n"; echo $backup_field . "\n";
?> ?>