"add link title only, if id is numeric"

This commit is contained in:
Ralf Becker 2009-04-04 17:41:15 +00:00
parent 1c11bfcf55
commit 73aeaa3cad

View File

@ -146,8 +146,7 @@ class vfs_widget
$value['c'.$n] = lang($path_parts[2]);
break;
case 4:
$value['c'.$n] .= ': '.egw_link::title($path_parts[2],$path_parts[3]);
//$value['c'.$n] = egw_link::title($path_parts[2],$path_parts[3]);
if (is_numeric($value['c'.$n])) $value['c'.$n] .= egw_link::title($path_parts[2],$path_parts[3]);
break;
}
}