fix proto

git-svn-id: https://forge.glpi-project.org/svn/example/trunk@190 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
yllen 2012-03-16 13:05:12 +00:00
parent dad2c49f9c
commit 622ff0617d

View File

@ -36,9 +36,12 @@
class PluginExampleDropdown extends CommonDropdown {
static function getTypeName() {
static function getTypeName($nb=0) {
return __('Plugin Example Dropdown');
if ($nb > 0) {
return __('Plugin Example Dropdowns');
}
return __('Plugin Example Dropdowns');
}
}
?>