mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-06-28 06:58:43 +02:00
fix proto
git-svn-id: https://forge.glpi-project.org/svn/example/trunk@190 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
@ -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');
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
Reference in New Issue
Block a user