diff options
author | fwenzel@mozilla.com <fwenzel@mozilla.com@4eb1ac78-321c-0410-a911-ec516a8615a5> | 2007-05-24 06:38:37 (GMT) |
---|---|---|
committer | fwenzel@mozilla.com <fwenzel@mozilla.com@4eb1ac78-321c-0410-a911-ec516a8615a5> | 2007-05-24 06:38:37 (GMT) |
commit | 86211162d8145dbe299707a5bc7a66ddf40d38cb (patch) | |
tree | c8feccce5c7ce768bee5dcb1562fd646da0ac679 /site/app/app_controller.php | |
parent | 58072d3f8667bc512ad1df05a4ee488f15959eaf (diff) |
applying fix for bug 376461: language names vs. locale codes on dict page
git-svn-id: http://svn.mozilla.org/addons/trunk@4069 4eb1ac78-321c-0410-a911-ec516a8615a5
Diffstat (limited to 'site/app/app_controller.php')
-rw-r--r-- | site/app/app_controller.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/site/app/app_controller.php b/site/app/app_controller.php index ccfbffc..b7cb49b 100644 --- a/site/app/app_controller.php +++ b/site/app/app_controller.php @@ -283,7 +283,7 @@ class AppController extends Controller } elseif (is_string($data)) { // encode the string - if (!empty($data) && -1 === strtotime($data)) + if (!empty($data) && (-1 === strtotime($data) || false === strtotime($data))) $data = $this->Sanitize->html($data); } // otherwise, we don't do anything (with ints or null etc.). |