diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ui.lib.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/ui.lib.php b/lib/ui.lib.php index 68092b71..9e7e5cb1 100644 --- a/lib/ui.lib.php +++ b/lib/ui.lib.php @@ -82,6 +82,16 @@ if (!function_exists('_')) { } // if _ isn't defined /** + * ngettext + * checks for ngettext and defines it if it doesn't exist + */ +if (!function_exists('ngettext')) { + function ngettext($string) { + return $string; + } +} // if no ngettext + +/** * access_denied * throws an error if they try to do something * that they aren't allowed to |