diff options
author | mattpiwik <matthieu.aubry@gmail.com> | 2009-03-02 00:59:59 +0300 |
---|---|---|
committer | mattpiwik <matthieu.aubry@gmail.com> | 2009-03-02 00:59:59 +0300 |
commit | 05ea6079a7828515c772b87299ce1617929c61c9 (patch) | |
tree | 3e346445906d90d0f4bed12de3752748d2881390 /core/Translate.php | |
parent | acb4f7decf3ea44d8a757704ff75c490d4686902 (diff) |
- fix #522 (unconsistency in login string length)
all login fields are now consistently restricted to maximum 100 characters string length
git-svn-id: http://dev.piwik.org/svn/trunk@941 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'core/Translate.php')
-rw-r--r-- | core/Translate.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Translate.php b/core/Translate.php index 87946e3416..9567d75fae 100644 --- a/core/Translate.php +++ b/core/Translate.php @@ -163,10 +163,10 @@ function Piwik_Translate($index, $args = array()) * @param string Translation string index * @return string */ -function Piwik_TranslateException($message) +function Piwik_TranslateException($message, $args = array()) { try { - return Piwik_Translate($message); + return Piwik_Translate($message, $args); } catch(Exception $e) { return $message; |