diff options
author | fwenzel@mozilla.com <fwenzel@mozilla.com@4eb1ac78-321c-0410-a911-ec516a8615a5> | 2007-08-22 13:37:52 (GMT) |
---|---|---|
committer | fwenzel@mozilla.com <fwenzel@mozilla.com@4eb1ac78-321c-0410-a911-ec516a8615a5> | 2007-08-22 13:37:52 (GMT) |
commit | 6da421447e1cae12fcb96b20e67029e1e4bd8017 (patch) | |
tree | f24842886b2dd79e0e44404ef0dbfe6cdf8db849 /site/app/app_controller.php | |
parent | bf54abbb35969a3aa4cdaf964e733820291ee749 (diff) |
fixing bug 392031: have publish() html-encode keys named 0, too
git-svn-id: http://svn.mozilla.org/addons/trunk@6070 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 595c127..2499c16 100644 --- a/site/app/app_controller.php +++ b/site/app/app_controller.php @@ -269,7 +269,7 @@ class AppController extends Controller // a better way of excluding fields from being sanitized. This // particular array keeps the translations locale strings from // becoming entities - if (!in_array($key,array('locale','locale_html'))) { + if (!in_array($key, array('locale','locale_html'), true)) { $this->_sanitizeArray($data[$key]); } } |