diff --git a/module/VuFind/src/VuFind/Search/Base/Results.php b/module/VuFind/src/VuFind/Search/Base/Results.php index 7ada0ce8b4c575bf2f16dc33d35d9fdb312b9a1f..cc358b8ddc6eb9d17277d71e0e481e7602d64c20 100644 --- a/module/VuFind/src/VuFind/Search/Base/Results.php +++ b/module/VuFind/src/VuFind/Search/Base/Results.php @@ -611,14 +611,14 @@ abstract class Results implements ServiceLocatorAwareInterface } /** - * Translate a string if a translator is available. - * - * @param string $msg Message to translate + * Translate a string if a translator is available (proxies method in Options). * * @return string */ - public function translate($msg) + public function translate() { - return $this->getOptions()->translate($msg); + return call_user_func_array( + [$this->getOptions(), 'translate'], func_get_args() + ); } } \ No newline at end of file